diff --git a/app/views/users/_rates.html.erb b/app/views/users/_rates.html.erb index 98293d4..047f8fb 100644 --- a/app/views/users/_rates.html.erb +++ b/app/views/users/_rates.html.erb @@ -1 +1,28 @@ -
| <%= l(:label_date) %> | +<%= l(:label_project) %> | +<%= l(:rate_label_rate) %> | ++ + + <% @rates.each do |rate| %> + |
|---|---|---|---|
| <%= h format_date(rate.date_in_effect) %> | ++ <%= link_to(h(rate.project), :controller => 'projects', :action => 'show', :id => rate.project) %> + | +<%= 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' %> + | +