debian-mirror-gitlab/app/views/admin/background_migrations/_migration.html.haml

11 lines
562 B
Text
Raw Normal View History

2021-09-04 01:27:46 +05:30
%tr{ role: 'row' }
%td{ role: 'cell', data: { label: _('Migration') } }= migration.job_class_name + ': ' + migration.table_name
%td{ role: 'cell', data: { label: _('Progress') } }
- progress = batched_migration_progress(migration, @successful_rows_counts[migration.id])
- if progress
= number_to_percentage(progress, precision: 2)
- else
= _('Unknown')
%td{ role: 'cell', data: { label: _('Status') } }
%span.badge.badge-pill.gl-badge.sm{ class: batched_migration_status_badge_class_name(migration) }= migration.status.humanize