forked from ScoDoc/ScoDoc
Form édition UE BUT: pas d'ajout si verrouillé
This commit is contained in:
parent
2666d82351
commit
ae02dc5821
@ -118,13 +118,17 @@
|
||||
</ul>
|
||||
{% if editable %}
|
||||
<ul>
|
||||
<li class="notes_ue_list notes_ue_list_add"><a class="stdlink" href="{{
|
||||
url_for('notes.ue_create',
|
||||
scodoc_dept=g.scodoc_dept,
|
||||
formation_id=formation.id,
|
||||
default_semestre_idx=semestre_idx,
|
||||
)}}">ajouter une UE</a>
|
||||
</li>
|
||||
{% if ues_by_sem[semestre_idx] and not ues_by_sem[semestre_idx][0].is_locked()[0] %}
|
||||
<li class="notes_ue_list notes_ue_list_add"><a class="stdlink" href="{{
|
||||
url_for('notes.ue_create',
|
||||
scodoc_dept=g.scodoc_dept,
|
||||
formation_id=formation.id,
|
||||
default_semestre_idx=semestre_idx,
|
||||
)}}">ajouter une UE</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="notes_ue_list notes_ue_list_add fontred">semestre utilisé et verrouillé</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
"Infos sur version ScoDoc"
|
||||
|
||||
SCOVERSION = "9.7.28"
|
||||
SCOVERSION = "9.7.29"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user