reorder action buttons

parent f2fba713
......@@ -11,11 +11,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 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>
<a href="{% url 'core:accept' 'course_comment' comment.pk %}" class="ui green basic icon fluid button"><i class="checkmark icon"></i></a>
{% elif type == 'document' %}
<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>
<a href="{% url 'core:accept' 'document_comment' comment.pk %}" class="ui green basic icon fluid button"><i class="checkmark icon"></i></a>
{% endif %}
</div>
</div>
\ No newline at end of file
......@@ -16,7 +16,7 @@
<p class="ui {% if course.type == 'Electif' %}grey{% else %}teal{% endif %} label">{{ course.type }}</p>
</div>
<div class="ui two bottom attached buttons">
<a href="{% url 'core:accept' 'course' course.pk %}" class="ui green basic icon fluid button"><i class="checkmark icon"></i></a>
<a href="{% url 'core:reject' 'course' course.pk %}" class="ui red basic icon fluid button"><i class="remove icon"></i></a>
<a href="{% url 'core:accept' 'course' course.pk %}" class="ui green basic icon fluid button"><i class="checkmark icon"></i></a>
</div>
</div>
\ No newline at end of file
......@@ -12,8 +12,8 @@
<p class="ui green label">{{document.documentDate.year}}</p>
</div>
<div class="ui three bottom attached buttons">
<a href="{% url 'core:accept' 'document' document.pk %}" class="ui green basic icon fluid button"><i class="checkmark icon"></i></a>
<a href="{% url 'core:download_document' document.id %}" class="ui blue basic icon fluid button" target="_new"> <i class="cloud download icon"></i></a>
<a href="{% url 'core:reject' 'document' document.pk %}" class="ui red basic icon fluid button"><i class="remove icon"></i></a>
<a href="{% url 'core:download_document' document.id %}" class="ui blue basic icon fluid button" target="_new"> <i class="cloud download icon"></i></a>
<a href="{% url 'core:accept' 'document' document.pk %}" class="ui green basic icon fluid button"><i class="checkmark icon"></i></a>
</div>
</div>
\ No newline at end of file
......@@ -11,7 +11,7 @@
</div>
</div>
<div class="ui two bottom attached buttons">
<a href="{% url 'core:accept' 'teacher' teacher.pk %}" class="ui green basic icon fluid button"><i class="checkmark icon"></i></a>
<a href="{% url 'core:reject' 'teacher' teacher.pk %}" class="ui red basic icon fluid button"><i class="remove icon"></i></a>
<a href="{% url 'core:accept' 'teacher' teacher.pk %}" class="ui green basic icon fluid button"><i class="checkmark icon"></i></a>
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment