summaryrefslogtreecommitdiff
path: root/app/views/backup_jobs/_index_core.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-07 10:49:01 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-07 10:49:01 +0100
commit5e8237d8a8cf17009189fcf0259fb1b8a50ab429 (patch)
tree64ecf7fc84ae3f4a7ca9db515fe6e14f18791a33 /app/views/backup_jobs/_index_core.html.haml
parentcebe4bed4d5cf561944baaded80f37355d0ca5fd (diff)
Bugfixes.
Diffstat (limited to 'app/views/backup_jobs/_index_core.html.haml')
-rw-r--r--app/views/backup_jobs/_index_core.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/backup_jobs/_index_core.html.haml b/app/views/backup_jobs/_index_core.html.haml
index a706424..9eebefd 100644
--- a/app/views/backup_jobs/_index_core.html.haml
+++ b/app/views/backup_jobs/_index_core.html.haml
@@ -26,6 +26,6 @@
= l backup_job.finished_at, :format => :short
%td= backup_job.state
%td
- - if !backup_job.size_of_the_backup.blank?
- = number_to_human_size(backup_job.size_of_the_backup, :precision => 2)
+ - if backup_job.backup_file?
+ = number_to_human_size(backup_job.backup_file.size, :precision => 2)
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => backup_job} \ No newline at end of file