1
0
forked from ScoDoc/ScoDoc

Add check in bul_head

This commit is contained in:
Emmanuel Viennet 2023-11-20 17:57:10 +01:00
parent 552095b979
commit 77388e2d87
2 changed files with 9 additions and 5 deletions

View File

@ -18,9 +18,13 @@
Bulletin Bulletin
<span class="bull_liensemestre"> <span class="bull_liensemestre">
{{formsemestre.html_link_status() | safe}} {{formsemestre.html_link_status() | safe}}
{% if etud.id in formsemestre.etuds_inscriptions %}
{% if formsemestre.etuds_inscriptions[etud.id].parcour %} {% if formsemestre.etuds_inscriptions[etud.id].parcour %}
<span class="parcours">Parcours {{formsemestre.etuds_inscriptions[etud.id].parcour.code}}</span> <span class="parcours">Parcours {{formsemestre.etuds_inscriptions[etud.id].parcour.code}}</span>
{% endif %} {% endif %}
{% else %}
<span class="parcours">{{scu.EMO_WARNING|safe}} non inscrit !?</span>
{% endif %}
</span> </span>
</div> </div>
<div> <div>

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.6.58" SCOVERSION = "9.6.59"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"