summaryrefslogtreecommitdiff
path: root/app/views/backup_jobs/show.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 12:40:42 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 12:40:42 +0100
commitbb8168c33f9501fe877345a7bbc7b7f7b64cdfc7 (patch)
tree8804da99d69819b2d4253e827230f459c0ebac1c /app/views/backup_jobs/show.html.haml
parente13f041741fd3a44f407b623da0274d9748c5c54 (diff)
Added a BackupJob scaffold.
Diffstat (limited to 'app/views/backup_jobs/show.html.haml')
-rw-r--r--app/views/backup_jobs/show.html.haml19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/views/backup_jobs/show.html.haml b/app/views/backup_jobs/show.html.haml
new file mode 100644
index 0000000..7f021bb
--- /dev/null
+++ b/app/views/backup_jobs/show.html.haml
@@ -0,0 +1,19 @@
+- content_for :title, t("backup_jobs.show.page_title")
+
+%p
+ %strong= t('backup_jobs.show.started_at') + ":"
+ = @backup_job.started_at
+%p
+ %strong= t('backup_jobs.show.finished_at') + ":"
+ = @backup_job.finished_at
+%p
+ %strong= t('backup_jobs.show.state') + ":"
+ = @backup_job.state
+%p
+ %strong= t('backup_jobs.show.directory') + ":"
+ = @backup_job.directory
+%p
+ %strong= t('backup_jobs.show.size_of_the_backup') + ":"
+ = @backup_job.size_of_the_backup
+
+= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @backup_job } \ No newline at end of file