cirandas.net

ref: master

plugins/exchange/views/exchange_plugin_myprofile/_proposal_offers.html.erb


<% products = profile.products - proposal.products %>

<%= _('Products and Services') %>

<% if products.blank? %> <%= _("%s has no offers registered.") % profile.name %> <% else %>
    <% products.each do |p| %>
  • <%= p.name %>
    <%= link_to_remote "", :url => {:controller => :exchange_plugin_element, :action => :create, :actor => actor, :object_id => p.id, :object_type => "Product", :element => {:proposal_id => proposal.id, :object_id => p.id, :object_type => "Product", :profile_id => profile.id}} %>
  • <% end %>
<% end %>