forked from DGNum/gestioCOF
css des petits cours
This commit is contained in:
parent
3da7f0074f
commit
e87d55dc7e
6 changed files with 36 additions and 33 deletions
|
@ -1,35 +1,38 @@
|
|||
{% extends "base_title_petitscours.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block page_size %}col-sm-8{% endblock %}
|
||||
|
||||
{% block realcontent %}
|
||||
<h3>Demande de petits cours</h3>
|
||||
<h2>Demande de petits cours</h2>
|
||||
{% include "details_demande_petit_cours_infos.html" %}
|
||||
<hr />
|
||||
<ul>
|
||||
<li><strong>Traitée</strong>: <img src="{% if demande.traitee %}{% static "images/yes.png" %}{% else %}{% static "images/no.png" %}{% endif %}" /></li>
|
||||
<table class="table table-striped">
|
||||
<tr><td><strong>Traitée</strong></td><td> <img src="{% if demande.traitee %}{% static "images/yes.png" %}{% else %}{% static "images/no.png" %}{% endif %}" /></td></tr>
|
||||
{% 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>:
|
||||
<tr><td><strong>Traitée par</strong></td><td> {{ demande.traitee_par }}</td></tr>
|
||||
<tr><td><strong>Traitée le</strong></td><td> {{ demande.processed }}</td></tr>
|
||||
<tr><td>
|
||||
<strong>Attributions</strong></td><td>
|
||||
<ul>
|
||||
{% for attrib in attributions %}
|
||||
<li>{{ attrib.user.get_full_name }} pour {{ attrib.matiere }}, {{ attrib.date|date:"d E Y" }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</table>
|
||||
{% if demande.traitee %}
|
||||
<div style="text-align: right;">
|
||||
<form action="{% url "petits-cours-demande-retraitement" demande.id %}">
|
||||
<input type="submit" value="Retraiter">
|
||||
<input class="btn btn-primary" 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">
|
||||
<input class="btn btn-primary" type="submit" value="Traiter">
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue