Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.html.haml « background_migrations « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7915a9d36dce94b9b0e407059df34ad7518147a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
- add_to_breadcrumbs s_('BackgroundMigrations|Background Migrations'), admin_background_migrations_path(database: params[:database])
- breadcrumb_title @migration.id
- page_title @migration.job_class_name , s_('BackgroundMigrations|Background Migrations')
- @breadcrumb_link = admin_background_migration_path(@migration, database: params[:database])

%h3= @migration.job_class_name + ': ' + @migration.table_name

.tab-content.gl-tab-content
  .tab-pane.active{ role: 'tabpanel' }
    %table.table.b-table.gl-table.b-table-stacked-md{ role: 'table' }
      %thead{ role: 'rowgroup' }
        %tr{ role: 'row' }
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Id')
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Min Value')
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Max Value')
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Batch size')
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Sub-batch size')
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Interval')
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Pause time (ms)')
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Created on')
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Last updated')
          %th.table-th-transparent.border-bottom{ role: 'cell' }= _('Status')
      %tbody{ role: 'rowgroup' }
        = render partial: 'migration_full_information', migration: @migration

- if @migration.batched_jobs.with_status(:failed).any?
  %h5= s_('BackgroundMigrations|Failed jobs:')

  %table.table.b-table.gl-table.b-table-stacked-md{ role: 'table' }
    %thead{ role: 'rowgroup' }
      %tr{ role: 'row' }
        %th{ role: 'cell' }= _('Id')
        %th{ role: 'cell' }= s_('BackgroundMigrations|Started at')
        %th{ role: 'cell' }= s_('BackgroundMigrations|Finished at')
        %th{ role: 'cell' }= s_('BackgroundMigrations|Batch size')
    %tbody{ role: 'rowgroup' }
      = render partial: 'job', collection: @failed_jobs

  = paginate_collection @failed_jobs