Skip to content

Commit

Permalink
Fix wrong and notation in twig template (#32)
Browse files Browse the repository at this point in the history
Fix wrong and notation in twig template
  • Loading branch information
PapsOu authored Jul 17, 2018
1 parent e7965bd commit 0872936
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="ui divider"></div>
<div class="ui buttons">
<a class="ui default button" href="{{ path('fos_user_resetting_request') }}">Rééssayer</a>
{% if app.user && app.user.application and app.user.application.url is not null %}
{% if app.user and app.user.application and app.user.application.url is not null %}
<a href="{{ app.user.application.url }}" class="ui teal button">
{{ 'pia.users.resetting.success.return_to_application'|trans({}, 'Pia') }}
</a>
Expand Down
2 changes: 1 addition & 1 deletion templates/pia/User/resetting_success.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</div>
<div class="ui teal segment">
<p>{{ 'pia.users.resetting.success.password_reset_successfully'|trans }}</p>
{% if app.user && app.user.application and app.user.application.url is not null %}
{% if app.user and app.user.application and app.user.application.url is not null %}
<a href="{{ app.user.application.url }}" class="ui teal button">
{{ 'pia.users.resetting.success.return_to_application'|trans }}
</a>
Expand Down

0 comments on commit 0872936

Please sign in to comment.