Commit | Line | Data |
---|---|---|
929ca066 BA |
1 | {% extends "FOSUserBundle::layout.html.twig" %} |
2 | ||
3 | {% block title %}{{ parent() }}registration confirmed{% endblock %} | |
4 | ||
5 | {% block fos_user_content %} | |
6 | {% trans_default_domain 'FOSUserBundle' %} | |
7 | ||
8 | <div class="top-spaced col-xs-12 center-txt">{{ 'registration.confirmed'|trans({'%username%': user.username}) }}</div> | |
9 | {% if app.session is not empty %} | |
10 | {% set targetUrl = app.session.get('_security.' ~ app.security.token.providerKey ~ '.target_path') %} | |
11 | {% if targetUrl is not empty %}<div class="col-xs-12 center-txt"><a href="{{ targetUrl }}">{{ 'registration.back'|trans }}</a></div>{% endif %} | |
12 | {% endif %} | |
13 | ||
14 | {% endblock fos_user_content %} |