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
|
@ -4,11 +4,11 @@
|
|||
{% block realcontent %}
|
||||
<h2>Demandes de petits cours</h2>
|
||||
{% if object_list %}
|
||||
<table>
|
||||
<table class="table table-stripped">
|
||||
<thead>
|
||||
<th style="width: 30%;">Nom</th>
|
||||
<th style="width: 30%;">Matières</th>
|
||||
<th style="width: 20%;">Date</th>
|
||||
<th>Nom</th>
|
||||
<th>Matières</th>
|
||||
<th>Date</th>
|
||||
<th>Traitée</th>
|
||||
<th>par</th>
|
||||
<th></th>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<td>{% for matiere in demande.matieres.all %}{% if forloop.counter0 > 0 %}, {% endif %}{{ matiere }}{% endfor %}</td>
|
||||
<td>{{ demande.created|date:"d E Y" }}</td>
|
||||
<td style="text-align: center;"><img src="{% if demande.traitee %}{% static "images/yes.png" %}{% else %}{% static "images/no.png" %}{% endif %}" /></td>
|
||||
<td>{% if demande.traitee_par %}{{ demande.traitee_par.username }}{% else %}<img src="{% static "images/none.png" %}" />{% endif %}</td>
|
||||
<td>{% if demande.traitee_par %}{{ demande.traitee_par.username }}{% else %}<span class="glyphicon glyphicon-ban-circle"></span>{% endif %}</td>
|
||||
<td><a href="{% url "petits-cours-demande-details" demande.id %}" class="see_detail">Détails</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue