2022-03-07 21:49:11 +01:00
|
|
|
{# -*- mode: jinja-html -*- #}
|
|
|
|
{# Element HTML decrivant un semestre (barre de menu et infos) #}
|
|
|
|
{# was formsemestre_page_title #}
|
|
|
|
|
2023-08-02 18:29:14 +02:00
|
|
|
<div class="formsemestre_page_title noprint">
|
2022-03-07 21:49:11 +01:00
|
|
|
<div class="infos">
|
2024-03-01 12:03:19 +01:00
|
|
|
<span class="semtitle"><a class="stdlink" title="{{formsemestre.session_id()}}" href="{{url_for('notes.formsemestre_status',
|
2023-02-12 13:36:47 +01:00
|
|
|
scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre.id)}}">{{formsemestre.titre}}</a>
|
|
|
|
{%- if formsemestre.semestre_id != -1 -%}
|
|
|
|
<a title="{{formsemestre.etapes_apo_str()
|
2022-03-07 21:49:11 +01:00
|
|
|
}}">, {{
|
2023-02-12 13:36:47 +01:00
|
|
|
formsemestre.formation.get_cursus().SESSION_NAME}}
|
|
|
|
{{formsemestre.semestre_id}}</a>
|
|
|
|
{%- endif -%}
|
|
|
|
{%- if formsemestre.modalite %} en {{formsemestre.modalite}}
|
2024-03-01 12:03:19 +01:00
|
|
|
{%- endif %}</span><span class="dates"><a title="du {{formsemestre.date_debut.strftime('%d/%m/%Y')}}
|
2023-02-12 13:36:47 +01:00
|
|
|
au {{formsemestre.date_fin.strftime('%d/%m/%Y')}} ">{{formsemestre.mois_debut()}} -
|
|
|
|
{{formsemestre.mois_fin()}}</a></span><span class="resp"><a
|
|
|
|
title="{{formsemestre.responsables_str(abbrev_prenom=False)}}">{{formsemestre.responsables_str()}}</a></span><span
|
2024-08-22 22:02:34 +02:00
|
|
|
class="nbinscrits"><a class="discretelink" href="{{url_for('scolar.groups_lists',
|
2022-03-07 21:49:11 +01:00
|
|
|
scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre.id)
|
2023-02-12 13:36:47 +01:00
|
|
|
}}">{{formsemestre.etuds_inscriptions|length}} inscrits</a></span><span class="lock">
|
|
|
|
{%-if not formsemestre.etat -%}
|
2024-03-01 12:03:19 +01:00
|
|
|
<a href="{{ url_for( 'notes.formsemestre_flip_lock',
|
2022-03-14 20:48:45 +01:00
|
|
|
scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre.id )}}">{{
|
2023-02-12 13:36:47 +01:00
|
|
|
scu.icontag("lock_img", border="0", title="Semestre verrouillé")|safe
|
|
|
|
}}</a>
|
|
|
|
{%- endif -%}
|
2024-03-27 16:27:45 +01:00
|
|
|
</span>
|
|
|
|
{%-if not scu.is_passerelle_disabled()-%}
|
|
|
|
<span class="eye"><a href="{{
|
2022-03-07 21:49:11 +01:00
|
|
|
url_for('notes.formsemestre_change_publication_bul',
|
2022-03-14 20:48:45 +01:00
|
|
|
scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre.id )
|
2022-03-07 21:49:11 +01:00
|
|
|
}}">{%-
|
2023-02-12 13:36:47 +01:00
|
|
|
if formsemestre.bul_hide_xml -%}
|
2024-03-23 10:17:49 +01:00
|
|
|
{{scu.ICON_HIDDEN|safe}}
|
2023-02-12 13:36:47 +01:00
|
|
|
{%- else -%}
|
2024-03-23 10:17:49 +01:00
|
|
|
{{scu.ICON_PUBLISHED|safe}}
|
2023-02-12 13:36:47 +01:00
|
|
|
{%- endif -%}
|
|
|
|
</a></span>
|
2024-03-27 16:27:45 +01:00
|
|
|
{%- endif -%}
|
2022-03-07 21:49:11 +01:00
|
|
|
</div>
|
|
|
|
{{sem_menu_bar|safe}}
|
|
|
|
</div>
|