Add export capability for class summary view

This commit is contained in:
Claude Paroz 2016-01-20 17:49:12 +01:00
parent 06b6a8c411
commit 976a559cca
3 changed files with 53 additions and 1 deletions

View file

@ -10,6 +10,9 @@
{% block content %}
<h2>{{ klass.name }}</h2>
<div style="float:right;">
<a href="{% url 'class' object.pk %}?format=xls"><img src="{{ STATIC_URL}}img/xls.png" title="Exportation Excel" width="24"></a>
</div>
<h3>Récapitulatif des stages</h3>
<table>
{% for student in students %}