aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Donnet2014-09-25 11:18:56 +0200
committerLuc Donnet2014-09-25 11:18:56 +0200
commit6589244e58dfad5b93ed1230b7c75df1f3367f21 (patch)
tree4d2a57f7feb11e7617e2a841e35390da3af3d053
parent5ee3a72979a6adf287c830a9726ace62211d9894 (diff)
downloadchouette-core-6589244e58dfad5b93ed1230b7c75df1f3367f21.tar.bz2
Add icon and better text for export design page Refs #0028884
-rw-r--r--app/views/exports/_export.erb2
-rw-r--r--config/locales/exports.yml4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/exports/_export.erb b/app/views/exports/_export.erb
index 7d67a3d72..649251b78 100644
--- a/app/views/exports/_export.erb
+++ b/app/views/exports/_export.erb
@@ -18,7 +18,7 @@
<div class="panel-body">
<p>
<% if export.status == 'completed' %>
- <%= link_to t("exports.actions.download"), referential_export_path(@referential, export, :format => :zip), :class => "download" %>
+ <%= link_to image_tag("icons/file_zip.png") + t(".exported_file"), referential_export_path(@referential, export, :format => :zip), :class => "download" %>
<% else %>
&nbsp;
<% end %>
diff --git a/config/locales/exports.yml b/config/locales/exports.yml
index 75002cc22..c94dd8d8e 100644
--- a/config/locales/exports.yml
+++ b/config/locales/exports.yml
@@ -1,5 +1,7 @@
en:
exports:
+ export:
+ exported_file: "Exported file"
actions:
new: "New export"
destroy: "Destroy"
@@ -115,6 +117,8 @@ en:
itl: "Restriction Constraints"
fr:
exports:
+ export:
+ exported_file: "Fichier exporté"
actions:
new: "Nouvel export"
destroy: "Supprimer cet export"