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
71f9e359
Commit
71f9e359
authored
Jun 14, 2017
by
Skia
🤘
Browse files
Merge branch 'forum' into 'master'
Remove ambiguity for topic creation in a category See merge request
!85
parents
58dc1791
7515e826
Pipeline
#1078
passed with stage
in 4 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
forum/templates/forum/forum.jinja
View file @
71f9e359
...
...
@@ -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
)
%}
<a
href=
"
{{
url
(
'forum:new_forum'
)
}}
?parent=
{{
forum.id
}}
"
>
{%
trans
%}
New forum
{%
endtrans
%}
</a>
<br/>
{%
endif
%}
{%
if
not
forum.is_category
%}
<a
href=
"
{{
url
(
'forum:new_topic'
,
forum_id
=
forum.id
)
}}
"
>
{%
trans
%}
New topic
{%
endtrans
%}
</a>
{%
endif
%}
</p>
{%
if
forum.children.exists
()
%}
<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