Add check in bul_head

This commit is contained in:
Emmanuel Viennet 2023-11-20 17:57:10 +01:00 committed by Iziram
parent 6bc4d6dbb4
commit 7672c3e3c5
2 changed files with 9 additions and 5 deletions

View File

@ -18,8 +18,12 @@
Bulletin Bulletin
<span class="bull_liensemestre"> <span class="bull_liensemestre">
{{formsemestre.html_link_status() | safe}} {{formsemestre.html_link_status() | safe}}
{% if formsemestre.etuds_inscriptions[etud.id].parcour %} {% if etud.id in formsemestre.etuds_inscriptions %}
<span class="parcours">Parcours {{formsemestre.etuds_inscriptions[etud.id].parcour.code}}</span> {% if formsemestre.etuds_inscriptions[etud.id].parcour %}
<span class="parcours">Parcours {{formsemestre.etuds_inscriptions[etud.id].parcour.code}}</span>
{% endif %}
{% else %}
<span class="parcours">{{scu.EMO_WARNING|safe}} non inscrit !?</span>
{% endif %} {% endif %}
</span> </span>
</div> </div>
@ -67,8 +71,8 @@
)}}">version courte spéciale BUT</a> )}}">version courte spéciale BUT</a>
{% endif %} {% endif %}
<a style="margin-left: 32px;" class="stdlink" <a style="margin-left: 32px;" class="stdlink"
href="{{url_for('notes.validation_rcues', href="{{url_for('notes.validation_rcues',
scodoc_dept=g.scodoc_dept, etudid=etud.id, scodoc_dept=g.scodoc_dept, etudid=etud.id,
formsemestre_id=formsemestre.id formsemestre_id=formsemestre.id
)}}">visualiser les compétences BUT</a> )}}">visualiser les compétences BUT</a>
</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"