diff options
| author | Luc Donnet | 2014-02-11 10:28:25 +0100 |
|---|---|---|
| committer | Luc Donnet | 2014-02-11 10:28:25 +0100 |
| commit | 87c6c1260e31e4d2fd0ef5eed25313ad224d2664 (patch) | |
| tree | c8239e0c7b5d69b1b028302e0f96df4c89a59dee | |
| parent | cb747bc70e7faaaee7ab71a305ee035ee5935025 (diff) | |
| download | chouette-core-87c6c1260e31e4d2fd0ef5eed25313ad224d2664.tar.bz2 | |
Add icon for download link in import task show
| -rw-r--r-- | app/views/import_tasks/show.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/import_tasks/show.html.erb b/app/views/import_tasks/show.html.erb index 81cf175be..751ad86ce 100644 --- a/app/views/import_tasks/show.html.erb +++ b/app/views/import_tasks/show.html.erb @@ -2,7 +2,9 @@ <div class="import_task_show"> <div class="links"> - <%= link_to t("import_tasks.show.imported_file"), file_to_import_referential_import_task_path(@import_task.referential, @import_task), :class => "btn btn-default" %> + <%= link_to(file_to_import_referential_import_task_path(@import_task.referential, @import_task), :class => "btn btn-default") do %> + <i class="fa fa-save"></i> <%= t("import_tasks.show.imported_file") %> + <% end %> <% if @import_task.compliance_check_task %> <%= link_to t("import_tasks.compliance_check_task"), referential_compliance_check_task_path(@import_task.referential, @import_task.compliance_check_task), :class => "btn #{button_link_class(@import_task.compliance_check_task)}" %> <% end %> |
