Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Comptoir du Libre v3 - Upcoming version
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Comptoir
Comptoir du Libre v3 - Upcoming version
Commits
21e09dae
Commit
21e09dae
authored
8 months ago
by
Fabrice Gangler
Browse files
Options
Downloads
Patches
Plain Diff
feat(user): display login/logtout links
parent
d3c1a4e0
No related branches found
No related tags found
1 merge request
!29
Feat user login change password forgot password
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webapp/templates/app_base.html.twig
+23
-0
23 additions, 0 deletions
webapp/templates/app_base.html.twig
with
23 additions
and
0 deletions
webapp/templates/app_base.html.twig
+
23
−
0
View file @
21e09dae
...
...
@@ -20,6 +20,29 @@
<div
class=
"col-lg-8 mx-auto p-4 py-md-5"
>
<header
class=
"d-flex align-items-center pb-3 mb-5 border-bottom"
>
HEADER
<nav>
<ul
class=
"icon-list ps-0"
>
{%
if
is_granted
(
'IS_AUTHENTICATED_FULLY'
)
%}
<li
class=
"d-flex align-items-start mb-1 text-muted"
>
<a
href=
"
{{
path
(
'app_user_profile'
)
}}
"
>
{{
'user.link.profile'
|
trans
}}
/
<strong
class=
"connected_user_email"
>
{{
app.user.email
}}
</strong>
</a>
</li>
<li
class=
"d-flex align-items-start mb-1"
>
<a
href=
"
{{
path
(
'app_account_logout'
)
}}
"
>
{{
'user.link.logtout'
|
trans
}}
</a>
</li>
{%
else
%}
<li
class=
"d-flex align-items-start mb-1"
>
<a
href=
"
{{
path
(
'app_account_login'
)
}}
"
>
{{
'public.link.login'
|
trans
}}
</a>
</li>
{# <li class="d-flex align-items-start mb-1">#}
{# <a href="{{ path('app_user_create-account') }}">Create an account</a>#}
{# </li>#}
{%
endif
%}
</ul>
</nav>
</header>
<main>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment