houdini/app/views/profiles/donations_history.html.erb
2020-06-15 10:26:57 -05:00

31 lines
871 B
Text
Executable file

<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<% content_for :title_suffix do %>
- Donor Donations
<% end %>
<%= content_for :javascripts do %>
<%= javascript_pack_tag 'i18n', 'page__profiles__donations_history'%>
<% end %>
<% content_for(:footer_hidden) {'hidden'} %>
<% content_for :stylesheets do %>
<%= stylesheet_link_tag 'profiles/show/page' %>
<% end %>
<header class='header stripe--green'>
<div class='container'>
<h4>Donations
<% if @profile.name %>
<small>(<%= @profile.name %>)</small>
<% end %>
</h4>
<%= render 'profile_tabs', profile_id: @profile.id, active: :donations %>
</div>
</header>
<main class='container u-paddingTop--20'>
<%= render 'donations' %>
<%= render 'ongoing_donations' %>
</main>