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
324bd693
Commit
324bd693
authored
Sep 20, 2016
by
Skia
🤘
Browse files
Small templates fixes
parent
1e0904b4
Pipeline
#233
failed with stage
in 8 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/templates/core/user_godfathers.jinja
View file @
324bd693
...
...
@@ -9,13 +9,15 @@
<h4>
{%
trans
%}
Godfathers
{%
endtrans
%}
</h4>
<ul>
{%
for
u
in
profile.godfathers.all
()
%}
<li>
{{
user_link_with_pict
(
u
)
}}
</li>
<li>
<a
href=
"
{{
url
(
"core:user_godfathers"
,
user_id
=
u.id
)
}}
"
class=
"mini_profile_link"
>
{{
u.get_mini_item
()
|
safe
}}
</a>
</li>
{%
endfor
%}
</ul>
<h4>
{%
trans
%}
Godchildren
{%
endtrans
%}
</h4>
<ul>
{%
for
u
in
profile.godchildren.all
()
%}
<li>
{{
user_link_with_pict
(
u
)
}}
</li>
<li>
<a
href=
"
{{
url
(
"core:user_godfathers"
,
user_id
=
u.id
)
}}
"
class=
"mini_profile_link"
>
{{
u.get_mini_item
()
|
safe
}}
</a>
</li>
{%
endfor
%}
</ul>
{%
if
profile
==
user
%}
...
...
core/templates/core/user_tools.jinja
View file @
324bd693
...
...
@@ -31,7 +31,8 @@
{%
for
b
in
settings.SITH_COUNTER_BARS
%}
{%
if
user.is_in_group
(
b
[
1
]
+
" admin"
)
%}
<li><a
href=
"
{{
url
(
'counter:details'
,
counter_id
=
b
[
0
])
}}
"
>
{{
b
[
1
]
}}
</a>
-
<a
href=
"
{{
url
(
'counter:admin'
,
counter_id
=
b
[
0
])
}}
"
>
{%
trans
%}
Edit
{%
endtrans
%}
</a></li>
<a
href=
"
{{
url
(
'counter:admin'
,
counter_id
=
b
[
0
])
}}
"
>
{%
trans
%}
Edit
{%
endtrans
%}
</a>
-
<a
href=
"
{{
url
(
'counter:stats'
,
counter_id
=
b
[
0
])
}}
"
>
{%
trans
%}
Stats
{%
endtrans
%}
</a></li>
{%
endif
%}
{%
endfor
%}
</ul>
...
...
Write
Preview
Markdown
is supported
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