Skip to content

Commit

Permalink
Merge pull request #1056 from rafalp/fix-footer-legal-links
Browse files Browse the repository at this point in the history
Fix legal links missing in footer
  • Loading branch information
rafalp authored Aug 19, 2018
2 parents 4c58517 + b2e0a69 commit 5847d99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions misago/templates/misago/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
</p>
</noscript>

{% if misago_settings.terms_of_service or misago_settings.terms_of_service_link or misago_settings.privacy_policy or misago_settings.privacy_policy_link or misago_settings.forum_footnote %}
{% if TERMS_OF_SERVICE_URL or PRIVACY_POLICY_URL or misago_settings.forum_footnote %}
<ul class="list-inline footer-nav">
{% if misago_settings.forum_footnote %}
<li class="site-footnote">
{{ misago_settings.forum_footnote }}
</li>
{% endif %}
{% if misago_settings.terms_of_service or misago_settings.terms_of_service_link %}
{% if TERMS_OF_SERVICE_URL %}
<li>
<a href="{% url 'misago:terms-of-service' %}">{% trans "Terms of service" %}</a>
<a href="{{ TERMS_OF_SERVICE_URL }}">{% trans "Terms of service" %}</a>
</li>
{% endif %}
{% if misago_settings.privacy_policy or misago_settings.privacy_policy_link %}
{% if PRIVACY_POLICY_URL %}
<li>
<a href="{% url 'misago:privacy-policy' %}">{% trans "Privacy policy" %}</a>
<a href="{{ PRIVACY_POLICY_URL }}">{% trans "Privacy policy" %}</a>
</li>
{% endif %}
</ul>
Expand Down

0 comments on commit 5847d99

Please sign in to comment.