templates: hide separator when include_registration_link in false (#56816)
This commit is contained in:
parent
bd6944d62a
commit
57c4788731
|
@ -14,9 +14,10 @@
|
|||
{% firstof registration_url idp_registration_url as registration_url %}
|
||||
<span class="login"><a accesskey="2" class="login-link" href="{% url 'auth_login' %}"
|
||||
>{% block user-info-login-label %}Connexion{% endblock %}
|
||||
{% if registration_url and include_registration_link != False %}</a>{% endif %}
|
||||
{% if registration_url and include_registration_link != False %}
|
||||
</a>
|
||||
<span class="sep">/</span>
|
||||
{% if registration_url and include_registration_link != False %}<a class="registration" href="{{registration_url}}"
|
||||
<a class="registration" href="{{registration_url}}"
|
||||
>{% block user-info-registration-label %}Inscription{% endblock %}{% endif %}</a></span>
|
||||
{% endif %}
|
||||
{% end_skeleton_extra_placeholder %}
|
||||
|
|
Loading…
Reference in New Issue