PDF_periodes
This commit is contained in:
parent
7b04443965
commit
d9d4fd7879
31 changed files with 1175 additions and 999 deletions
|
|
@ -6,35 +6,83 @@
|
|||
{% block content %}
|
||||
|
||||
<div id="content-main">
|
||||
<h1>{{object}}</h1>
|
||||
<table>
|
||||
<tr><th>Domaine</th><td>{{object.processus.domaine.url|safe}}</td></tr>
|
||||
<tr><th>Processus</th><td>{{object.processus.url|safe}}</td></tr>
|
||||
<tr><th>Situation emblématique</th><td>{{object.situation|linebreaksbr}}</td></tr>
|
||||
<tr><th>Compétences visées</th><td><p>L'éducateur social, l'éducatrice sociale:</p>
|
||||
{% for c in object.competence_set.all %}- {{c.nom}} ({{c.code}})<br />
|
||||
{% if user.is_authenticated %}
|
||||
{% for sc in c.souscompetence_set.all %} -- {{sc.nom}} <br />{%endfor %}{% endif %}{% endfor %}</td></tr>
|
||||
<!-- <tr><th>Ressources à acquérir</th><td>{% for c in object.ressource_set.all %}- {{c}}<br />{% endfor %}</td></tr> -->
|
||||
<tr><th>Objectifs à atteindre</th><td>{% for c in object.objectif_set.all %}- {{c}}<br />{% endfor %}</td></tr>
|
||||
<tr><th>Didactique</th><td>{{ object.didactique }}</td></tr>
|
||||
<!-- <tr><th>Contenu</th><td>{{object.contenu|linebreaksbr}}</td></tr> -->
|
||||
<tr><th>Evaluation</th><td>{{object.evaluation|linebreaksbr}}</td></tr>
|
||||
<tr><th>Type</th><td>{{object.type}}, obligatoire</td></tr>
|
||||
<tr><th>Semestre</th><td>Sem. {{object.semestre}}</td></tr>
|
||||
{% if object.periode_presentiel > 0 %}
|
||||
<tr><th>Présentiel</th><td>{{object.periode_presentiel}} heures</td></tr>
|
||||
{% endif %}
|
||||
{% if object.pratique_prof > 0 %}
|
||||
<tr><th>Pratique prof.</th><td>{{object.pratique_prof}} heures</td></tr>
|
||||
{% endif %}
|
||||
{% if object.travail_perso > 0 %}
|
||||
<tr><th>Travail perso.</th><td>{{object.travail_perso}} heures</td></tr>
|
||||
{% endif %}
|
||||
<tr><th>Responsable</th><td>{{object.processus.domaine.responsable.descr|safe}}</td></tr>
|
||||
</table>
|
||||
<p><a href="{% url 'module-pdf' object.id %}">Imprimer en PDF</a></p>
|
||||
|
||||
<h1>{{object}}</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Domaine</th>
|
||||
<td>{{object.processus.domaine.url|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Processus</th>
|
||||
<td>{{object.processus.url|safe}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Situation emblématique</th>
|
||||
<td>{{object.situation|linebreaksbr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Compétences visées</th>
|
||||
<td><p>L'éducateur social, l'éducatrice sociale:</p>
|
||||
{% for c in object.competence_set.all %}
|
||||
- {{c.nom}} ({{c.code}})<br>
|
||||
{% if user.is_authenticated %}
|
||||
{% for sc in c.souscompetence_set.all %}
|
||||
-- {{sc.nom}} <br>
|
||||
{%endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr><th>Ressources à acquérir</th><td>{% for c in object.ressource_set.all %}- {{c}}<br />{% endfor %}</td></tr> -->
|
||||
<tr>
|
||||
<th>Objectifs à atteindre</th>
|
||||
<td>
|
||||
{% for c in object.objectif_set.all %}
|
||||
- {{c}}<br>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Didactique</th>
|
||||
<td>{{ object.didactique }}</td>
|
||||
</tr>
|
||||
<!-- <tr><th>Contenu</th><td>{{object.contenu|linebreaksbr}}</td></tr> -->
|
||||
<tr>
|
||||
<th>Evaluation</th>
|
||||
<td>{{object.evaluation|linebreaksbr}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<td>{{object.type}}, obligatoire</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Semestre</th>
|
||||
<td>Sem. {{object.semestre}}</td>
|
||||
</tr>
|
||||
{% if object.periode_presentiel > 0 %}
|
||||
<tr>
|
||||
<th>Présentiel</th>
|
||||
<td>{{object.periode_presentiel}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if object.pratique_prof > 0 %}
|
||||
<tr>
|
||||
<th>Pratique prof.</th>
|
||||
<td>{{object.pratique_prof}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if object.travail_perso > 0 %}
|
||||
<tr>
|
||||
<th>Travail perso.</th>
|
||||
<td>{{object.travail_perso}} heures</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th>Responsable</th>
|
||||
<td>{{object.processus.domaine.responsable.descr|safe}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><a href="{% url 'module-pdf' object.id %}">Imprimer en PDF</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue