diff --git a/app/templates/pn/form_mods.html b/app/templates/pn/form_mods.html index 2be3cfe24..10927bc88 100644 --- a/app/templates/pn/form_mods.html +++ b/app/templates/pn/form_mods.html @@ -65,6 +65,13 @@ {% endfor %} + {% if mod.ue.type != 0 and mod.module_type != 0 %} + + type incompatible avec son UE de rattachement ! + + {% endif %} +
diff --git a/app/templates/pn/form_ues.html b/app/templates/pn/form_ues.html index 350d12d82..0cd3e333b 100644 --- a/app/templates/pn/form_ues.html +++ b/app/templates/pn/form_ues.html @@ -48,6 +48,9 @@ }}">modifier {% endif %} + {% if ue.type == 1 and ue.modules.count() == 0 %} + aucun module rattaché ! + {% endif %} {% endfor %}