Edition programme: avertissements

This commit is contained in:
Emmanuel Viennet 2022-02-18 19:35:57 +01:00
parent a67515d560
commit ab212a5b2b
2 changed files with 10 additions and 0 deletions

View File

@ -65,6 +65,13 @@
{% endfor %}
</span>
{% if mod.ue.type != 0 and mod.module_type != 0 %}
<span class="warning" title="Une UE de type spécial ne
devrait contenir que des modules standards">
type incompatible avec son UE de rattachement !
</span>
{% endif %}
<span class="sco_tag_edit"><form><textarea data-module_id="{{mod.id}}"
class="{% if tag_editable %}module_tag_editor{% else %}module_tag_editor_ro{% endif %}">{{mod.tags|join(', ', attribute='title')}}</textarea></form></span>

View File

@ -48,6 +48,9 @@
}}">modifier</a>
{% endif %}
{% if ue.type == 1 and ue.modules.count() == 0 %}
<span class="warning" title="pas de module, donc pas de bonus calculé">aucun module rattaché !</span>
{% endif %}
</li>
{% endfor %}
</ul>