<%= block_title block.title %> <% if block.owner.is_a?(Profile) %>
<% if logged_in? and (current_user.person.is_admin?(environment) or profile.admins.include?(current_user.person)) %> <%= _('Edit %{inputs} and %{interests}') % { :inputs => link_to(_("products' inputs"), :controller => :manage_products, :action => :index), :interests => link_to(_('declared interests'), :controller => :sniffer_plugin_myprofile, :action => :edit), } %> <% end %>
<% else %> <% end %>