Skip to content
Snippets Groups Projects
Verified Commit 1b85ce15 authored by David Beniamine's avatar David Beniamine
Browse files

Fix double login button

Fix tuleap-267
parent 355ba754
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,16 @@ ...@@ -2,11 +2,16 @@
{% block connexion %} {% block connexion %}
<div class="d-flex flex-row justify-content-center mb-10"> <div class="d-flex flex-row justify-content-center mb-10">
{% if app.request.pathinfo != path('app_login') %}
<a href="{{ path('app_login') }}" class="btn btn-primary m-2 px-4 py-3 text-uppercase" > <a href="{{ path('app_login') }}" class="btn btn-primary m-2 px-4 py-3 text-uppercase" >
{{ 'login.log_in'|trans }} {{ 'login.log_in'|trans }}
</a> </a>
<a href="/register" class="btn btn-primary m-2 px-4 py-3 text-uppercase"> {% endif %}
{% if app.request.pathinfo != path('app_register') %}
<a href="{{ path('app_register') }}" class="btn btn-primary m-2 px-4 py-3 text-uppercase">
{{ 'general.sign_in'|trans }} {{ 'general.sign_in'|trans }}
</a> </a>
{% endif %}
</div> </div>
{% endblock %} {% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment