% rates = @rates unless rates project = @project unless project current_rate = @user.current_rate(project) %>
<%= l(:label_no_data) %>
<% else %><%= Rate.human_attribute_name(:valid_from) %> | <%= Rate.model_name.human %> | <%= User.human_attribute_name(:current_rate) %> |
---|---|---|
<%= rate.valid_from %> | <%= number_to_currency(rate.rate) %> | <%= rate == current_rate ? image_tag('check.png', :alt => l(:general_text_Yes)) : "" %> |