summaryrefslogtreecommitdiffstats
path: root/app/views/timelog
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-03-20 09:34:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-03-20 09:34:26 +0000
commiteaea4e9fee7e70c6df4db5b749fbe94937bbd35c (patch)
tree2c8fff46458f1aa05d2fe6202d61319bf2024a81 /app/views/timelog
parente63bf1d5970cec0e63029dd1deb36539fc844dae (diff)
downloadredmine-eaea4e9fee7e70c6df4db5b749fbe94937bbd35c.tar.gz
redmine-eaea4e9fee7e70c6df4db5b749fbe94937bbd35c.zip
Improve accessibility for icon-only links by adding hidden text (#21805).
Patch by Daniel Ritz. git-svn-id: http://svn.redmine.org/redmine/trunk@15271 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r--app/views/timelog/_list.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb
index df497d47e..89e1bc8c3 100644
--- a/app/views/timelog/_list.html.erb
+++ b/app/views/timelog/_list.html.erb
@@ -21,10 +21,10 @@
<%= raw @query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, entry)}</td>"}.join %>
<td class="buttons">
<% if entry.editable_by?(User.current) -%>
- <%= link_to '', edit_time_entry_path(entry),
+ <%= link_to l(:button_edit), edit_time_entry_path(entry),
:title => l(:button_edit),
- :class => 'icon icon-edit' %>
- <%= link_to '', time_entry_path(entry),
+ :class => 'icon-only icon-edit' %>
+ <%= link_to l(:button_delete), time_entry_path(entry),
:data => {:confirm => l(:text_are_you_sure)},
:method => :delete,
:title => l(:button_delete),