houdini/app/views/components/_footer_sub.html.erb
2021-04-23 12:59:42 -05:00

30 lines
1.1 KiB
Text

<%- # 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 -%>
<!-- partial start: components/_footer_sub -->
<section class='globalFooter-sub'>
<div class='container'>
<span <%= !current_user ? "style='display: block;'" : ""%>>
<span class='globalFooter-sub-items'>
<span>
<span class='globalFooter-sub-item'>&copy; <%= Time.current.year %> <%= Houdini.general.name %></span>
<span class='globalFooter-sub-item'>
<% if current_user %>
<% if Houdini.hoster.terms_and_privacy&.help_url %><span><%= link_to("Help", Houdini.terms_and_privacy.help_url) %></span><% end %>
<% else %>
<% if Houdini.hoster.terms_and_privacy&.about_url %><span><%= link_to("About", Houdini.terms_and_privacy.about_url) %></span><% end %>
<% end %>
</span>
<span class='globalFooter-sub-item'>
<%= link_to( t("footer.terms_and_privacy"), :static_terms_and_privacy) %>
</span>
</span>
</span>
</span>
</div>
</section>
<!-- partial start: components/_footer_sub -->