ref: master
plugins/escambo/views/escambo_plugin_shared/profile_image_link.html.erb
<% if @active_organization and @active_organization != profile %><% end %> <% if not logged_in? or (@active_organization and @active_organization != profile) %> <%= render :partial => 'exchange_plugin_shared/start_exchange', :locals => {:profile => profile, :element_id => nil, :element_type => nil} %> <% end %><%= link_to profile.name, profile.url %><%= profile.product_categories.first(3).join(', ') %><% if profile.region.present? %> <% extend SearchHelper %> <%= city_with_state profile.region %> <% else %> <%= _("Localization wasn't informed") %> <% end %><%= _('Already made %{exchanges_count} exchanges with %{enterprises_count} enterprises.') % { :exchanges_count => profile.exchanges_count, :enterprises_count => profile.exchanged_profile_count } %>