saucy/app/views/layouts/application.html.erb
Hugo Peixoto 9058ed98f7 Adds payment page
Instead of sending all the payment details by email, we're now sending
only a link to a page on this platform. This is to help reduce questions
of whether the emails are from scammers or real.
2023-07-12 19:13:08 +01:00

48 lines
1.3 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>Saucy</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= stylesheet_link_tag "application" %>
<%= javascript_importmap_tags %>
</head>
<body>
<div class='banner'></div>
<% if signed_in? %>
<nav>
<ul>
<li><%= link_to t('navigation.members'), members_path %></li>
<li><%= link_to t('navigation.board'), edit_board_path %></li>
<li><%= link_to t('navigation.notifications'), notifications_path %></li>
<li><%= link_to t('navigation.contributions'), contributions_path %></li>
<li><%= link_to t('navigation.due_contributions'), due_contributions_path %></li>
<li>
<%= button_to sign_out_path, method: :delete do %>
Sign out of <%= current_user.email %>
<% end %>
</li>
</ul>
</nav>
<% end %>
<main>
<%= yield %>
</main>
<footer>
<div>
<%= link_to Config.organization_full_name, Config.organization_website %>
</div>
<div>
<%= t('footer.description') %>
<%= t('footer.free_software_html') %>
</div>
</footer>
</body>
</html>