ref: master
plugins/escambo/views/profile/_interests.html.erb
<%= _('Interests') %>
<% if profile == @active_organization %> <%= link_to _("Add"), {:controller => :sniffer_plugin_myprofile, :action => :edit}, :class => 'add action-button' %> <% end %> <% unless all %> <%= link_to _("See all"), {:action => :interests, :profile => profile.identifier} %> <% end %> <% opportunities = @profile.sniffer_opportunities %> <% opportunities = opportunities.first(4) unless all %> <% opportunities.each do |interest| %> <%= render :partial => 'snippets/sniffer_plugin_opportunity', :locals => {:interest => interest} %> <% end %>