Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AE UTBM
Sith
Commits
4a29a431
Commit
4a29a431
authored
Aug 31, 2016
by
Skia
🤘
Browse files
Display user amount without the account page
parent
f66b999f
Pipeline
#160
failed with stage
in 1 minute and 38 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
core/templates/core/user_base.jinja
View file @
4a29a431
...
...
@@ -15,7 +15,7 @@
{%
if
profile.customer
and
(
profile
==
request.user
or
request.user.is_in_group
(
settings.SITH_GROUPS
[
'accounting-admin'
][
'name'
])
or
request.user.is_root
)
%}
<a
href=
"
{{
url
(
'core:user_account'
,
user_id
=
profile.id
)
}}
"
>
{%
trans
%}
Account
{%
endtrans
%}
</a>
<a
href=
"
{{
url
(
'core:user_account'
,
user_id
=
profile.id
)
}}
"
>
{%
trans
%}
Account
{%
endtrans
%}
(
{{
profile.customer.amount
}}
€)
</a>
{%
endif
%}
</div>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment