used titles to show the text

pull/3438/head
Henriette Dinger 9 years ago
parent ea1687f46f
commit b55ef0a12e
  1. 12
      app/views/admin/projects.html.erb

@ -126,20 +126,24 @@ See doc/COPYRIGHT.rdoc for more details.
<td><%= format_date(project.created_on) %></td>
<td><%= format_date(project.updated_on) %></td>
<td class="buttons">
<%= link_to(l(:button_archive),
<%= link_to('',
archive_project_path(project, :status => params[:status]),
data: { confirm: l(:text_are_you_sure) },
:method => :put,
:title => l(:button_archive),
:class => 'icon icon-locked') if project.active? %>
<%= link_to(l(:button_unarchive),
<%= link_to('',
unarchive_project_path(project, :status => params[:status]),
:method => :put,
:title => l(:button_unarchive),
:class => 'icon icon-unlocked') if !project.active? && (project.parent.nil? || project.parent.active?) %>
<%= link_to(l(:button_copy),
<%= link_to('',
copy_from_project_path(project, :admin),
:title => l(:button_copy),
:class => 'icon icon-copy') %>
<%= link_to(l(:button_delete),
<%= link_to('',
confirm_destroy_project_path(project),
:title => l(:button_delete),
:class => 'icon icon-delete') %>
</td>
</tr>

Loading…
Cancel
Save