summaryrefslogtreecommitdiffstats
path: root/app/views/attachments
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-29 13:55:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-29 13:55:41 +0000
commit749d703881c6f0c44db6724d7606189aaf69eb6a (patch)
tree71cff9ba56c7468a08f59fd944b114d1821d5249 /app/views/attachments
parent05262d2c346039c967f78b24b95f3ffb1e7ac15b (diff)
downloadredmine-749d703881c6f0c44db6724d7606189aaf69eb6a.tar.gz
redmine-749d703881c6f0c44db6724d7606189aaf69eb6a.zip
Adds a more specific title for the attachments edit link (#1326).
git-svn-id: http://svn.redmine.org/redmine/trunk@13667 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/attachments')
-rw-r--r--app/views/attachments/_links.html.erb4
-rw-r--r--app/views/attachments/edit.html.erb2
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/attachments/_links.html.erb b/app/views/attachments/_links.html.erb
index a8dbd3584..cc54b0137 100644
--- a/app/views/attachments/_links.html.erb
+++ b/app/views/attachments/_links.html.erb
@@ -1,6 +1,8 @@
<div class="attachments">
<div class="contextual">
- <%= link_to image_tag('edit.png'), container_attachments_edit_path(container) if attachments.any?(&:editable?) %>
+ <%= link_to image_tag('edit.png'),
+ container_attachments_edit_path(container),
+ :title => l(:label_edit_attachments) if attachments.any?(&:editable?) %>
</div>
<% for attachment in attachments %>
<p><%= link_to_attachment attachment, :class => 'icon icon-attachment', :download => true -%>
diff --git a/app/views/attachments/edit.html.erb b/app/views/attachments/edit.html.erb
index 065488c67..c979c90ea 100644
--- a/app/views/attachments/edit.html.erb
+++ b/app/views/attachments/edit.html.erb
@@ -1,4 +1,4 @@
-<h2><%= l(:label_attachment_plural) %></h2>
+<h2><%= l(:label_edit_attachments) %></h2>
<%= error_messages_for *@attachments %>