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
7515e826
Commit
7515e826
authored
Jun 14, 2017
by
Krophil
Browse files
Remove ambiguity
parent
58dc1791
Pipeline
#1077
passed with stage
in 5 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
forum/templates/forum/forum.jinja
View file @
7515e826
...
@@ -19,7 +19,9 @@
...
@@ -19,7 +19,9 @@
{%
if
user.is_in_group
(
settings.SITH_GROUP_FORUM_ADMIN_ID
)
or
user.is_in_group
(
settings.SITH_GROUP_COM_ADMIN_ID
)
%}
{%
if
user.is_in_group
(
settings.SITH_GROUP_FORUM_ADMIN_ID
)
or
user.is_in_group
(
settings.SITH_GROUP_COM_ADMIN_ID
)
%}
<a
href=
"
{{
url
(
'forum:new_forum'
)
}}
?parent=
{{
forum.id
}}
"
>
{%
trans
%}
New forum
{%
endtrans
%}
</a>
<br/>
<a
href=
"
{{
url
(
'forum:new_forum'
)
}}
?parent=
{{
forum.id
}}
"
>
{%
trans
%}
New forum
{%
endtrans
%}
</a>
<br/>
{%
endif
%}
{%
endif
%}
{%
if
not
forum.is_category
%}
<a
href=
"
{{
url
(
'forum:new_topic'
,
forum_id
=
forum.id
)
}}
"
>
{%
trans
%}
New topic
{%
endtrans
%}
</a>
<a
href=
"
{{
url
(
'forum:new_topic'
,
forum_id
=
forum.id
)
}}
"
>
{%
trans
%}
New topic
{%
endtrans
%}
</a>
{%
endif
%}
</p>
</p>
{%
if
forum.children.exists
()
%}
{%
if
forum.children.exists
()
%}
<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