Skip to content

Commit

Permalink
theme: add privacy notice link to sign-up & login
Browse files Browse the repository at this point in the history
  • Loading branch information
slint committed Jan 6, 2021
1 parent 920e715 commit 5c81ceb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Expand Up @@ -56,7 +56,16 @@ <h3 align="center">&mdash; OR &mdash;</h3>
<button type="submit" class="btn btn-primary btn-lg btn-block"><i class="fa fa-sign-in"></i> {{_('Log In')}}</button>
</form>
{%- endwith %}
{% endblock %}
{%- endblock %}

{%- block registerable %}
{%- if security.registerable %}
<div class="panel-footer text-center">
<h4 class="text-muted">{% trans sitename=config.ACCOUNTS_SITENAME %}New to {{sitename}}?{% endtrans %} <a href="{{url_for('security.register')}}">{{_('Sign Up')}}</a></h4>
<a href="https://about.zenodo.org/privacy-policy/">{{_('Privacy notice')}}</a>
</div>
{%- endif %}
{%- endblock %}

{%- block recoverable %}
<footer>{{super()}}
Expand Down
Expand Up @@ -78,7 +78,10 @@ <h3 align="center">— OR —</h3>
</form>
{%- block signup_form_footer %}
<p align="center">
{{_('Already have an account?')}} <a href="{{url_for_security('login')}}">{{_('Log In')}}</a>
{{_('Already have an account?')}} <a href="{{url_for_security('login')}}">{{_('Log In')}}</a>
</p>
<p align="center">
<small><a href="https://about.zenodo.org/privacy-policy/">{{_('Privacy notice')}}</a></small>
{%- endblock %}
</p>
</div>
Expand Down

0 comments on commit 5c81ceb

Please sign in to comment.