WIP: petitscours: UI improvements #843

Draft
llanteri wants to merge 6 commits from petitscours into master
Showing only changes of commit b59b745644 - Show all commits

View file

@ -21,7 +21,11 @@
<td>{{ demande.created|date:"d E Y" }}</td>
<td style="text-align: center;"><img src="{% if demande.traitee %}{% static "vendor/font-awesome/images/yes.png" %}{% else %}{% static "vendor/font-awesome/images/no.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>
<td>{% if demande.traitee %}
<a href="{% url "petits-cours-demande-details" demande.id %}" class="see_detail">Détails</a>
{% else %}
<a href="{% url "petits-cours-demande-traitement" demande.id %}" class="see_detail">Traiter</a>
{% endif %}</td>
</tr>
{% endfor %}
</tbody>