Skip to content

Commit

Permalink
Update login template to include legal links
Browse files Browse the repository at this point in the history
  • Loading branch information
tinok committed Aug 30, 2024
1 parent 10ef336 commit 46b33b2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion kobo/apps/accounts/templates/account/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@ <h2>{% trans "Log in using SSO" %}</h2>
</div>
<script src="{% static 'js/sso_buttons.js' %}"></script>
{% endif %}

<div class="registration__legal">
{% if config.TERMS_OF_SERVICE_URL %}
<a href="{{config.TERMS_OF_SERVICE_URL}}" target="_blank">
{% trans "Terms of Service" %}
</a>
{% endif %}
{% if config.PRIVACY_POLICY_URL %}
<a href="{{config.PRIVACY_POLICY_URL}}" target="_blank">
{% trans "Privacy Policy" %}
</a>
{% endif %}
</div>
</form>
{% endblock %}

0 comments on commit 46b33b2

Please sign in to comment.