From b55ef0a12e3a16e02dfc1a74c682fa861e99238d Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Wed, 26 Aug 2015 16:33:00 +0200 Subject: [PATCH] used titles to show the text --- app/views/admin/projects.html.erb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/views/admin/projects.html.erb b/app/views/admin/projects.html.erb index efe7913e7b..8a6a4c4b29 100644 --- a/app/views/admin/projects.html.erb +++ b/app/views/admin/projects.html.erb @@ -126,20 +126,24 @@ See doc/COPYRIGHT.rdoc for more details. <%= format_date(project.created_on) %> <%= format_date(project.updated_on) %> - <%= 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') %>