Commit 1fe31eb2 authored by Martin Lehoux's avatar Martin Lehoux

finsihed refactor course moderation

parent 58536d2c
<div class="ui container segment raised">
<div id="teacher_list">
{% for teacher in course.teachers.all %}
{% include "core/components/teacher_button.html" with teacher=teacher %}
{% endfor %}
</div>
<br/>
<div class="ui stackable four column centered grid">
<div class="column">
<a href="{% url 'core:accept' 'course' course.pk %}" class="ui green labeled icon fluid button"><i class="checkmark icon"></i>Accepter</a>
</div>
<div class="column">
<a href="{% url 'core:reject' 'course' course.pk %}" class="ui red labeled icon fluid button"><i class="remove icon"></i>Rejeter</a>
</div>
</div>
</div>
<div class="ui container">
<div class="ui fluid card">
<div class="content">
......@@ -23,10 +6,19 @@
{{ course.name }}
</div>
<div class="description">{{ course.description }}</div>
<div id="teacher_list">
{% for teacher in course.teachers.all %}
{% include "core/components/teacher_button.html" with teacher=teacher %}
{% endfor %}
</div>
</div>
<div class="extra content">
<p class="ui red label">{{course.year}}</p>
<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 labeled icon fluid button"><i class="checkmark icon"></i>Accepter</a>
<a href="{% url 'core:reject' 'course' course.pk %}" class="ui red basic labeled icon fluid button"><i class="remove icon"></i>Rejeter</a>
</div>
</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