cirandas.net

ref: master

plugins/sniffer/views/sniffer_plugin_myprofile/map_balloon.html.erb


<%= render :partial => 'balloon_header', :locals => {:profile => @profile_of_interest} %>
<% unless @empty %>
<% unless @suppliers.blank? %> <%= _('Can supply') %>
<% @suppliers.each do |supplier| %>
<%= render :partial => "item_#{supplier[:partial]}", :locals => {:item => supplier} %>
<% end %>
<% end %>
<% unless @consumers.blank? %> <%= _('May consum') %>
<% @consumers.each do |consumer| %>
<%= render :partial => "item_#{consumer[:partial]}", :locals => {:item => consumer} %>
<% end %>
<% end %>
<% end %>