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
029bc7cc
Commit
029bc7cc
authored
Oct 18, 2016
by
Sli
Browse files
Add link to create club in rootplace
parent
c40171fe
Pipeline
#309
failed with stage
in 3 minutes and 25 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
core/templates/core/edit.jinja
View file @
029bc7cc
{%
extends
"core/base.jinja"
%}
{%
block
title
%}
{%
if
object
%}
{%
trans
obj
=
object
%}
Edit
{{
obj
}}{%
endtrans
%}
{%
else
%}
{%
trans
%}
Save
{%
endtrans
%}
{%
endif
%}
{%
endblock
%}
{%
block
content
%}
{%
if
object
%}
<h2>
{%
trans
obj
=
object
%}
Edit
{{
obj
}}{%
endtrans
%}
</h2>
{%
else
%}
<h2>
{%
trans
%}
Save
{%
endtrans
%}
</h2>
{%
endif
%}
<form
action=
""
method=
"post"
enctype=
"multipart/form-data"
>
{%
csrf_token
%}
{{
form.as_p
()
}}
...
...
core/templates/core/user_tools.jinja
View file @
029bc7cc
...
...
@@ -16,6 +16,7 @@
{%
endif
%}
{%
if
user.is_in_group
(
settings.SITH_MAIN_BOARD_GROUP
)
or
user.is_root
%}
<li><a
href=
"
{{
url
(
'subscription:subscription'
)
}}
"
>
{%
trans
%}
Subscriptions
{%
endtrans
%}
</a></li>
<li><a
href=
"
{{
url
(
'club:club_new'
)
}}
"
>
{%
trans
%}
New club
{%
endtrans
%}
</a></li>
{%
endif
%}
</ul>
...
...
locale/fr/LC_MESSAGES/django.po
View file @
029bc7cc
This diff is collapsed.
Click to expand it.
Skia
🤘
@skia
Mentioned in commit
ea85d26c
·
Nov 03, 2016
Mentioned in commit
ea85d26c
Mentioned in commit ea85d26cddf4100995ea1dc9b14351369dcb3810
Toggle commit list
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