@@ -12,7 +21,8 @@
Domaines
Processus
Modules
-
Calendrier
+
Périodes
+
{% if has_permission %}
Calendrier
{% endif %}
diff --git a/templates/cms/index.html b/templates/cms/index.html
index 18bb301..118d096 100644
--- a/templates/cms/index.html
+++ b/templates/cms/index.html
@@ -79,9 +79,9 @@
| {{D6.url|safe}} |
{{P09.url|safe}} |
- {{M16_1a.url_code|safe}} - {{M16_1b.url_code|safe}} - {{M16_1c.url_code|safe}} |
- {{M16_2a.url_code|safe}} - {{M16_2b.url_code|safe}} - {{M16_2c.url_code|safe}} |
- {{M16_3a.url_code|safe}} - {{M16_3b.url_code|safe}} - {{M16_3c.url_code|safe}} |
+ {{M16_1a.url_code|safe}} / {{M16_1b.url_code|safe}} / {{M16_1c.url_code|safe}} |
+ {{M16_2a.url_code|safe}} / {{M16_2b.url_code|safe}} / {{M16_2c.url_code|safe}} |
+ {{M16_3a.url_code|safe}} / {{M16_3b.url_code|safe}} / {{M16_3c.url_code|safe}} |
@@ -97,6 +97,8 @@
| {{MACC.url_code|safe}} |
+
+
Imprimer en PDF
{% endblock %}
diff --git a/templates/cms/module_detail.html b/templates/cms/module_detail.html
index 85c4677..5cb0c60 100644
--- a/templates/cms/module_detail.html
+++ b/templates/cms/module_detail.html
@@ -10,13 +10,15 @@
| Domaine | {{object.processus.domaine.url|safe}} |
| Processus | {{object.processus.url|safe}} |
-| Situation emblématique | {{object.situation}} |
-| Compétences visées | L'éducateur social, l'éducatrice sociale
-{% for c in object.competences.all %}- {{c.libelle}} ({{c.code}}) {% endfor %} |
-| Ressources | {% for c in object.ressource_set.all %}- {{c}} {% endfor %} |
-| Objectifs | {% for c in object.objectif_set.all %}- {{c}} {% endfor %} |
-| Contenu | {{object.contenu}} |
-| Evaluation | {{object.evaluation}} |
+| Situation emblématique | {{object.situation|linebreaksbr}} |
+| Compétences visées | L'éducateur social, l'éducatrice sociale:
+{% for c in object.competences.all %}- {{c.libelle}} ({{c.code}})
+{% if user.is_authenticated %}
+{% for sc in c.souscompetence_set.all %} - {{sc.libelle}} {%endfor %}{% endif %}{% endfor %} |
+| Ressources à acquérir | {% for c in object.ressource_set.all %}- {{c}} {% endfor %} |
+| Objectifs à atteindre | {% for c in object.objectif_set.all %}- {{c}} {% endfor %} |
+| Contenu | {{object.contenu|linebreaksbr}} |
+| Evaluation | {{object.evaluation|linebreaksbr}} |
| Type | {{object.type}} |
| Semestre | {{object.semestre}} |
{% if object.periode_presentiel > 0 %}
@@ -28,9 +30,9 @@
{% if object.travail_perso > 0 %}
| Travail perso. | {{object.travail_perso}} heures |
{% endif %}
-| Responsable | {{object.processus.domaine.responsable}} ({{object.processus.domaine.responsable.email}}) |
+| Responsable | {{object.processus.domaine.responsable.descr}} |
-
+
Périodes de formation
-| Semestre 1 | {{tot1.sem1__sum}}h. |
+| Semestre 1 | {{tot1.sem1__sum}}h. | Semestre 2 | {{tot2.sem2__sum}}h. |
+
{% for s in sem1 %}
| {{s}} | {{s.sem1}} h. |
{% endfor %}
-| Semestre 2 | {{tot2.sem2__sum}}h. |
+
+ |
+
+
{% for s in sem2 %}
| {{s}} | {{s.sem2}} h. |
{% endfor %}
-| Semestre 3 | {{tot3.sem3__sum}}h. |
+
+ |
+| Semestre 3 | {{tot3.sem3__sum}}h. | Semestre 4 | {{tot4.sem4__sum}}h. |
+
{% for s in sem3 %}
| {{s}} | {{s.sem3}} h. |
{% endfor %}
-| Semestre 4 | {{tot4.sem4__sum}}h. |
+ |
+
{% for s in sem4 %}
| {{s}} | {{s.sem4}} h. |
{% endfor %}
-| Semestre 5 | {{tot5.sem5__sum}}h. |
+ |
+| Semestre 5 | {{tot5.sem5__sum}}h. | Semestre 6 | {{tot6.sem6__sum}}h. |
+
{% for s in sem5 %}
| {{s}} | {{s.sem5}} h. |
{% endfor %}
-| Semestre 6 | {{tot6.sem6__sum}}h. |
+ |
+
+
{% for s in sem6 %}
| {{s}} | {{s.sem6}} h. |
{% endfor %}
-{{tot.tot__sum}}
+ |
+
+
+Total des périodes de cours: {{tot.periode_presentiel__sum}} heures
+
+
+
Imprimer en PDF
{% endblock %}
diff --git a/templates/cms/processus_detail.html b/templates/cms/processus_detail.html
index bc89180..bfeb01a 100644
--- a/templates/cms/processus_detail.html
+++ b/templates/cms/processus_detail.html
@@ -13,7 +13,7 @@