diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-11 16:52:24 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-11 16:52:24 +0100 |
commit | da362f73cf417aa2eda9124d17c66850087ea0f6 (patch) | |
tree | be39a26515c5219ee038c1f21e22f88bc005e054 /app/views/backup_jobs/show.html.haml | |
parent | 42ee5557a5ac11743b573b25eb8fdb60c8c13aa3 (diff) |
Backup GUI improvements.
Diffstat (limited to 'app/views/backup_jobs/show.html.haml')
-rw-r--r-- | app/views/backup_jobs/show.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/backup_jobs/show.html.haml b/app/views/backup_jobs/show.html.haml index 5d85bbc..6c55320 100644 --- a/app/views/backup_jobs/show.html.haml +++ b/app/views/backup_jobs/show.html.haml @@ -15,6 +15,8 @@ %p %strong= t('backup_jobs.show.size_of_the_backup') + ":" - if @backup_job.backup_file? - = number_to_human_size(@backup_job.backup_file.size, :precision => 2) + %a{:href => backup_job.backup_file.current_path} + %i{:class => 'icon-download'} + = 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 |