ref: master
plugins/exchange/views/exchange_plugin_myprofile/_evaluation.html.erb
<% if (evaluation = @exchange.evaluations.select{|x| x.evaluator_id == profile.id }.first) %> <%= render :partial => "evaluation_plugin_profile/enterprise_evaluation", :locals => {:evaluation => evaluation} %> <% else %><%= _('Your evaluation (still to be done)') %>
<%= render :partial => "evaluation_form" %> <% end %><% if (evaluation = @exchange.evaluations.select{|x| x.evaluator_id == @theother.id }.first) %> <%= render :partial => "evaluation_plugin_profile/enterprise_evaluation", :locals => {:evaluation => evaluation} %> <% else %><%= _('%s evaluation (still to be done)') % @theother.name %>
<% end %>