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
9429dbcc
Commit
9429dbcc
authored
Jun 26, 2016
by
Skia
🤘
Browse files
Add link to counters in club tools
parent
50efc07e
Changes
1
Hide whitespace changes
Inline
Side-by-side
club/templates/club/club_tools.jinja
View file @
9429dbcc
...
...
@@ -4,6 +4,18 @@
<h3>
Club tools
</h3>
<p><a
href=
"
{{
url
(
'club:club_view'
,
club_id
=
object.id
)
}}
"
>
Back to club
</a></p>
<ul>
{%
if
object.counters.all
()
|
count
>
0
%}
<li>
Counters:
<ul>
{%
for
c
in
object.counters.all
()
%}
<li>
{{
c
}}
:
<a
href=
"
{{
url
(
'counter:details'
,
counter_id
=
c.id
)
}}
"
>
View
</a>
<a
href=
"
{{
url
(
'counter:admin'
,
counter_id
=
c.id
)
}}
"
>
Edit
</a>
</li>
{%
endfor
%}
</ul>
</li>
{%
endif
%}
{%
if
object.club_account
%}
<li>
Accouting:
<a
href=
"
{{
url
(
'accounting:club_details'
,
c_account_id
=
object.club_account.id
)
}}
"
>
{{
object
}}
</a></li>
{%
endif
%}
...
...
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