Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
nofist-v2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ViaRézo
nofist-v2
Commits
cc5464b8
Unverified
Commit
cc5464b8
authored
Sep 28, 2018
by
Martin Lehoux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no label on actions
parent
abcc3c39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
core/templates/core/components/comment_moderation.html
core/templates/core/components/comment_moderation.html
+4
-4
No files found.
core/templates/core/components/comment_moderation.html
View file @
cc5464b8
...
...
@@ -12,11 +12,11 @@
</div>
<div
class=
"ui two bottom attached buttons"
>
{% if type == 'course' %}
<a
href=
"{% url 'core:accept' 'course_comment' comment.pk %}"
class=
"ui green basic
labeled icon fluid button"
><i
class=
"checkmark icon"
></i>
Accepter
</a>
<a
href=
"{% url 'core:reject' 'course_comment' comment.pk %}"
class=
"ui red basic
labeled icon fluid button"
><i
class=
"remove icon"
></i>
Rejeter
</a>
<a
href=
"{% url 'core:accept' 'course_comment' comment.pk %}"
class=
"ui green basic
icon fluid button"
><i
class=
"checkmark icon"
></i>
</a>
<a
href=
"{% url 'core:reject' 'course_comment' comment.pk %}"
class=
"ui red basic
icon fluid button"
><i
class=
"remove icon"
></i>
</a>
{% elif type == 'document' %}
<a
href=
"{% url 'core:accept' 'document_comment' comment.pk %}"
class=
"ui green basic
labeled icon fluid button"
><i
class=
"checkmark icon"
></i>
Accepter
</a>
<a
href=
"{% url 'core:reject' 'document_comment' comment.pk %}"
class=
"ui red basic
labeled icon fluid button"
><i
class=
"remove icon"
></i>
Rejeter
</a>
<a
href=
"{% url 'core:accept' 'document_comment' comment.pk %}"
class=
"ui green basic
icon fluid button"
><i
class=
"checkmark icon"
></i>
</a>
<a
href=
"{% url 'core:reject' 'document_comment' comment.pk %}"
class=
"ui red basic
icon fluid button"
><i
class=
"remove icon"
></i>
</a>
{% endif %}
</div>
</div>
...
...
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