Commit 4e759490 authored by Martin Lehoux's avatar Martin Lehoux

begin refactor course moderation

parent ff9e6782
<div class="ui container segment raised">
<h1 class="ui header center aligned container">
<i class="folder outline icon"></i>
<div class="content">{{ course.name }}</div>
</h1>
<div class="tags">
<p class="ui tag red label">{{course.year}}</p>
<p class="ui tag {% if course.type == 'Electif' %}grey{% else %}teal{% endif %} label">{{ course.type }}</p>
</div>
<div class="ui segment">
<p class="ui ribbon label">Description</p>
{{ course.description }}
</div>
<div id="teacher_list">
{% for teacher in course.teachers.all %}
{% include "core/components/teacher_button.html" with teacher=teacher %}
......@@ -25,4 +13,20 @@
<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">
<div class="header">
<i class="folder outline icon"></i>
{{ course.name }}
</div>
<div class="description">{{ course.description }}</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>
</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