Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Update file(s) "/templates/bundles/NucleosUserBundle/" from "zikula/c…
Browse files Browse the repository at this point in the history
…ore"
  • Loading branch information
Guite committed Apr 2, 2023
1 parent 9f6b486 commit e53b412
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions templates/bundles/NucleosUserBundle/layout.html.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% extends '@EasyAdmin/page/content.html.twig' %}

{% block content_title 'Your account'|trans %}
{% block main %}
<div>
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
{{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'NucleosUserBundle') }} |
<a href="{{ path('nucleos_user_security_logout') }}">
{{ 'layout.logout'|trans({}, 'NucleosUserBundle') }}
</a>
{% else %}
<a href="{{ path('nucleos_user_security_login') }}">{{ 'layout.login'|trans({}, 'NucleosUserBundle') }}</a>
{% endif %}
</div>
<div class="my-5 p-2">
{% block nucleos_user_content %}
{% endblock nucleos_user_content %}
</div>
{% endblock %}

0 comments on commit e53b412

Please sign in to comment.