summaryrefslogtreecommitdiff
path: root/app/views/backup_jobs/_index_core.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/_index_core.html.haml
parente13f041741fd3a44f407b623da0274d9748c5c54 (diff)
Added a BackupJob scaffold.
Diffstat (limited to 'app/views/backup_jobs/_index_core.html.haml')
-rw-r--r--app/views/backup_jobs/_index_core.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/backup_jobs/_index_core.html.haml b/app/views/backup_jobs/_index_core.html.haml
new file mode 100644
index 0000000..6babf3e
--- /dev/null
+++ b/app/views/backup_jobs/_index_core.html.haml
@@ -0,0 +1,17 @@
+%table.table.table-striped
+ %tr
+ %th= t('backup_jobs.index.started_at')
+ %th= t('backup_jobs.index.finished_at')
+ %th= t('backup_jobs.index.state')
+ %th= t('backup_jobs.index.directory')
+ %th= t('backup_jobs.index.size_of_the_backup')
+
+
+ - for backup_job in backup_jobs
+ %tr
+ %td= backup_job.started_at
+ %td= backup_job.finished_at
+ %td= backup_job.state
+ %td= backup_job.directory
+ %td= backup_job.size_of_the_backup
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => backup_job} \ No newline at end of file