diff options
| author | Luc Donnet | 2014-02-11 14:33:25 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2014-02-11 14:33:25 +0100 | 
| commit | 7d73658ae22e912b30d7c68fc75b1c2849b4a9a6 (patch) | |
| tree | 21cb6627f8efa7b707d0ac4680fddb441f006967 /app/views/import_tasks | |
| parent | 4ca13ff49efc4adcb58158e81e302e9f02da3c4a (diff) | |
| download | chouette-core-7d73658ae22e912b30d7c68fc75b1c2849b4a9a6.tar.bz2 | |
Fix links and icons for compliance check task and import task
Diffstat (limited to 'app/views/import_tasks')
| -rw-r--r-- | app/views/import_tasks/show.html.erb | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/app/views/import_tasks/show.html.erb b/app/views/import_tasks/show.html.erb index 751ad86ce..720d21c79 100644 --- a/app/views/import_tasks/show.html.erb +++ b/app/views/import_tasks/show.html.erb @@ -2,11 +2,9 @@  <div class="import_task_show">    <div class="links"> -    <%= 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 %> +    <%= link_to image_tag("icons/file_#{@import_task.file_path_extension}.png") + t("import_tasks.show.imported_file"),  file_to_import_referential_import_task_path(@import_task.referential, @import_task) %>      <% 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)}"  %> +      <%= link_to image_tag('icons/link_page.png') + t("import_tasks.compliance_check_task"), referential_compliance_check_task_path(@import_task.referential, @import_task.compliance_check_task), :class => "#{button_link_class(@import_task.compliance_check_task)}"  %>      <% end %>    </div>    <%= render( :partial => "results_dashboard") if @import_task.completed? %> | 
