[accessibility] add alt-tag for image

pull/6827/head
Romano Licker 13 years ago
parent d82dfabb4c
commit 118f3533ca
  1. 2
      app/views/roles/index.html.erb

@ -16,7 +16,7 @@
<tr class="<%= cycle("odd", "even") %>"> <tr class="<%= cycle("odd", "even") %>">
<td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(role.name, :action => 'edit', :id => role)) %></td> <td><%= content_tag(role.builtin? ? 'em' : 'span', link_to(role.name, :action => 'edit', :id => role)) %></td>
<td align="center" style="width:15%;"> <td align="center" style="width:15%;">
<%= image_tag('true.png') if role.is_a?(GlobalRole) %> <%= image_tag('true.png', :alt => l(:general_text_Yes)) if role.is_a?(GlobalRole) %>
</td> </td>
<td align="center" style="width:15%;"> <td align="center" style="width:15%;">
<% unless role.builtin? %> <% unless role.builtin? %>

Loading…
Cancel
Save