summaryrefslogtreecommitdiff
path: root/app/views/restore_jobs/show.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 10:48:08 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 10:48:08 +0100
commitffaa80e8d46b3b6b7597af6f157724005f48bae4 (patch)
tree0ba02970c4ce7a30d2859b01d9121fbf04cd5c75 /app/views/restore_jobs/show.html.haml
parent0442cd19bc9383669b506185356227361a16e442 (diff)
RestoreJob scaffold
Diffstat (limited to 'app/views/restore_jobs/show.html.haml')
-rw-r--r--app/views/restore_jobs/show.html.haml22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/restore_jobs/show.html.haml b/app/views/restore_jobs/show.html.haml
new file mode 100644
index 0000000..5993872
--- /dev/null
+++ b/app/views/restore_jobs/show.html.haml
@@ -0,0 +1,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 } \ No newline at end of file