diff --git a/app/views/users/_rates.html.erb b/app/views/users/_rates.html.erb index 118e0cd..70a666c 100644 --- a/app/views/users/_rates.html.erb +++ b/app/views/users/_rates.html.erb @@ -3,12 +3,12 @@ <%# Can't expect everyone to upgrade at the moment %> <% @rates = Rate.history_for_user(@user) %> -
| <%= l(:label_date) %> | +<%= l(:label_date) %> | <%= l(:label_project) %> | -<%= l(:rate_label_rate) %> | -+ | <%= l(:rate_label_rate) %> | +<% @rates.each do |rate| %> @@ -19,8 +19,12 @@ | <%= h rate.amount %> | - <%= link_to l(:button_edit), {:action => 'not_implemented', :id => @user, :rate_id => rate }, :method => :post, :class => 'icon icon-edit' %> - <%= link_to l(:button_delete), {:action => 'not_implemented', :id => @user, :rate_id => rate }, :method => :post, :class => 'icon icon-del' %> + <%= link_to image_tag('edit.png'), + {:action => 'not_implemented', :id => @user, :rate_id => rate }, + {:method => :post } %> + <%= link_to image_tag('delete.png'), + {:action => 'not_implemented', :id => @user, :rate_id => rate }, + {:method => :post, :confirm => l(:text_are_you_sure) } %> |
|---|