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">{{ }}</div>
<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 class="ui segment">
<p class="ui ribbon label">Description</p>
{{ course.description }}
<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' %}" class="ui red labeled icon fluid button"><i class="remove icon"></i>Rejeter</a>
<div class="ui container">
<div class="ui fluid card">
<div class="content">
<div class="header">
<i class="folder outline icon"></i>
{{ }}
<div class="description">{{ course.description }}</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>
\ 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