PDF_periodes
This commit is contained in:
parent
7b04443965
commit
d9d4fd7879
31 changed files with 1175 additions and 999 deletions
|
|
@ -8,29 +8,52 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>Répartion des heures de formation</h1>
|
||||
<table border="0">
|
||||
<tr><th>Module</th><th >Heures de cours</th><th>Travail perso.</th><th>Pratique prof.</th></tr>
|
||||
{% for m in object_list %}
|
||||
<tr>
|
||||
<td >
|
||||
{% if forloop.last %}
|
||||
{{ m }} - Travail de diplôme
|
||||
{% else %}
|
||||
{{ m }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td align="center">{% if m.periode_presentiel == 0 %} {% else %} {{ m.periode_presentiel|rjust:"3" }} h. {% endif %}</td>
|
||||
<td align="center">{% if m.travail_perso == 0 %} {% else %} {{ m.travail_perso|rjust:"3" }} h. {% endif %}</td>
|
||||
<td align="center">{% if m.pratique_prof == 0 %} {% else %} {{ m.pratique_prof|rjust:"3" }} h.{% endif %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<th >Total</th>
|
||||
<th>{{ total_perso }} heures</th>
|
||||
<th>{{ total_presentiel }} heures</th>
|
||||
<th>{{ total_pratique }} heures</th>
|
||||
</tr>
|
||||
</table>
|
||||
<h1>Répartion des heures de formation</h1>
|
||||
<table border="0">
|
||||
<tr>
|
||||
<th>Module</th>
|
||||
<th >Heures de cours</th>
|
||||
<th>Travail perso.</th>
|
||||
<th>Pratique prof.</th>
|
||||
</tr>
|
||||
{% for m in object_list %}
|
||||
<tr>
|
||||
<td >
|
||||
{% if forloop.last %}
|
||||
{{ m }} - Travail de diplôme
|
||||
{% else %}
|
||||
{{ m }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td align="center">
|
||||
{% if m.periode_presentiel == 0 %}
|
||||
|
||||
{% else %}
|
||||
{{ m.periode_presentiel|rjust:"3" }} h.
|
||||
{% endif %}
|
||||
</td>
|
||||
<td align="center">
|
||||
{% if m.travail_perso == 0 %}
|
||||
nbsp;
|
||||
{% else %}
|
||||
{{ m.travail_perso|rjust:"3" }} h.
|
||||
{% endif %}
|
||||
</td>
|
||||
<td align="center">
|
||||
{% if m.pratique_prof == 0 %}
|
||||
|
||||
{% else %}
|
||||
{{ m.pratique_prof|rjust:"3" }} h.
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<th >Total</th>
|
||||
<th>{{ total_perso }} heures</th>
|
||||
<th>{{ total_presentiel }} heures</th>
|
||||
<th>{{ total_pratique }} heures</th>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue