templates: add variable to (not) include top registration link (#50873)
This commit is contained in:
parent
7ca97a3a4f
commit
3c928a804b
|
@ -142,10 +142,10 @@ page-{{ page.slug }} page-template-{{ page.template_name }} {% with pages.0.slug
|
|||
{% else %}
|
||||
<span class="login"><a accesskey="2" class="login-link" href="{% url 'auth_login' %}"
|
||||
>{% block user-info-login-label %}Connexion{% endblock %}
|
||||
{% if idp_registration_url %}</a>{% endif %}
|
||||
{% if idp_registration_url and include_registration_link != False %}</a>{% endif %}
|
||||
<span class="sep">/</span>
|
||||
{% if idp_registration_url %}<a class="registration" href="{{idp_registration_url}}"
|
||||
>{% endif %}{% block user-info-registration-label %}Inscription{% endblock %}</a></span>
|
||||
{% if idp_registration_url and include_registration_link != False %}<a class="registration" href="{{idp_registration_url}}"
|
||||
>{% block user-info-registration-label %}Inscription{% endblock %}{% endif %}</a></span>
|
||||
{% endif %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue