2016-05-21 23:57:36 +02:00
|
|
|
{% extends "base_title_petitscours.html" %}
|
2016-05-26 01:33:21 +02:00
|
|
|
{% load staticfiles %}
|
2016-05-21 23:57:36 +02:00
|
|
|
|
|
|
|
{% block realcontent %}
|
|
|
|
<h3>Demande de petits cours</h3>
|
|
|
|
{% include "details_demande_petit_cours_infos.html" %}
|
|
|
|
<hr />
|
|
|
|
<ul>
|
2016-05-26 01:26:28 +02:00
|
|
|
<li><strong>Traitée</strong>: <img src="{% if demande.traitee %}{% static "images/yes.png" %}{% else %}{% static "images/no.png" %}{% endif %}" /></li>
|
2016-05-21 23:57:36 +02:00
|
|
|
{% if demande.traitee %}
|
|
|
|
<li><strong>Traitée par</strong>: {{ demande.traitee_par }}</li>
|
|
|
|
<li><strong>Traitée le</strong>: {{ demande.processed }}</li>
|
|
|
|
<li>
|
|
|
|
<strong>Attributions</strong>:
|
|
|
|
<ul>
|
|
|
|
{% for attrib in attributions %}
|
|
|
|
<li>{{ attrib.user.get_full_name }} pour {{ attrib.matiere }}, {{ attrib.date|date:"d E Y" }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
{% if demande.traitee %}
|
|
|
|
<div style="text-align: right;">
|
|
|
|
<form action="{% url "petits-cours-demande-retraitement" demande.id %}">
|
|
|
|
<input type="submit" value="Retraiter">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<div style="text-align: right;">
|
|
|
|
<form action="{% url "petits-cours-demande-traitement" demande.id %}">
|
|
|
|
<input type="submit" value="Traiter">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|