cirandas.net

ref: master

plugins/organization_ratings/views/shared/_make_report_block.html.erb


<% logged_in_image = link_to profile_image(current_user.person, :portrait), current_user.person.url if current_user %>
<% logged_in_name = link_to current_user.person.name,  current_user.person.url if current_user %>
<% logged_out_image = image_tag('plugins/organization_ratings/images/user-not-logged.png') %>

<%= logged_in? ? logged_in_image : logged_out_image %>
<%= logged_in? ? logged_in_name : _('User not logged') %>
<%= _('Report your experiences.') %>
<%= render :partial => 'shared/rating_button', :locals => { :disabled => false } %> <% unless logged_in? %>
<%= _('* You must be logged in to submit a report.') %>
<% end %>