summaryrefslogtreecommitdiff
path: root/app/views/restore_jobs/show.html.haml
blob: 5993872b087f2b449c5eccd1d689708a32e71d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- content_for :title, t("restore_jobs.show.page_title")

%table.table.table-striped
  %tbody
    %tr
      %td
        %strong= t('restore_jobs.show.state') + ":"
      %td
        = @restore_job.state
    %tr
      %td
        %strong= t('restore_jobs.show.backup_file') + ":"
      %td
        = @restore_job.to_s
    %tr
      %td
        %strong= t('backup_jobs.show.size_of_the_backup') + ":"
      %td
        - if @restore_job.backup_file?
          = number_to_human_size(@restore_job.backup_file.size, :precision => 2) 

= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @restore_job }