diff --git a/app/views/users/_rates.html.erb b/app/views/users/_rates.html.erb
index 6b17e73..7e6e203 100644
--- a/app/views/users/_rates.html.erb
+++ b/app/views/users/_rates.html.erb
@@ -19,12 +19,16 @@
<%= h rate.amount %> |
+ <% if rate.unlocked? %>
<%= 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) } %>
+ <% else %>
+ <%= image_tag('locked.png') %>
+ <% end %>
|