summaryrefslogtreecommitdiff
path: root/app/views/backup_jobs
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 16:25:05 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 16:25:05 +0100
commit16c8605ad879bf0ac0c46bc24f2e9cd5c62e3a7d (patch)
tree2ee4242d3c04ed04b8200c732a073a4acb180c33 /app/views/backup_jobs
parent18fd060156b725f744993f4cfd6cf0472bd8248c (diff)
Bugfix #204
Diffstat (limited to 'app/views/backup_jobs')
-rw-r--r--app/views/backup_jobs/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/backup_jobs/show.html.haml b/app/views/backup_jobs/show.html.haml
index ddc4766..8bb270f 100644
--- a/app/views/backup_jobs/show.html.haml
+++ b/app/views/backup_jobs/show.html.haml
@@ -27,8 +27,8 @@
%strong= t('backup_jobs.show.size_of_the_backup') + ":"
%td
- if @backup_job.backup_file?
- %a{:href => backup_job.backup_file.url}
+ %a{:href => @backup_job.backup_file.url}
%i{:class => 'icon-download'}
- = number_to_human_size(backup_job.backup_file.size, :precision => 2)
+ = number_to_human_size(@backup_job.backup_file.size, :precision => 2)
= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @backup_job } \ No newline at end of file