Open-Source-Access-Control-.../app/views/ipns/show.html.erb

19 lines
584 B
Plaintext
Raw Permalink Normal View History

2013-08-24 09:18:37 +00:00
<h2>IPN Details</h2>
<% @ipn.attributes.except("data","payment_id").each do |attr| %>
<p>
<b><%= attr.first.to_s %>:</b>
<%= @ipn.attributes[attr.first] %>
</p>
<% end %>
<p>
<% if @ipn.payment.present? %>
2013-08-28 10:18:47 +00:00
<%= link_to "Linked Payment", @ipn.payment %>
2013-08-24 09:18:37 +00:00
<% else %>
2013-08-28 10:18:47 +00:00
<span class="alert">Couldn't link automatically. Please create payment manually or adjust the user account and try again to <%= link_to "link email '#{@ipn.payer_email}' at membership level '#{@ipn.payment_gross.to_i}'", link_ipn_path(@ipn) %>.</span>
2013-08-24 09:18:37 +00:00
<% end %>
2013-08-28 10:18:47 +00:00
2013-08-24 09:18:37 +00:00
</p>
2013-08-28 10:18:47 +00:00
<%= link_to "Back", ipns_path %>