1
0
forked from ScoDoc/ScoDoc
ScoDoc/app/templates/formsemestre_header.j2

41 lines
2.2 KiB
Plaintext
Raw Normal View History

2021-12-28 16:17:07 +01:00
{# -*- mode: jinja-html -*- #}
2021-12-04 21:06:32 +01:00
{# Description un semestre (barre de menu et infos) #}
<!-- formsemestre_header -->
2023-08-02 18:29:14 +02:00
<div class="formsemestre_page_title noprint">
2021-12-04 21:06:32 +01:00
<div class="infos">
2021-12-10 00:54:57 +01:00
<span class="semtitle"><a class="stdlink" title="{{sco.sem.session_id()}}" href="{{
2024-03-01 12:03:19 +01:00
url_for('notes.formsemestre_status',
2021-12-04 21:06:32 +01:00
scodoc_dept=g.scodoc_dept, formsemestre_id=sco.sem.id)
}}">{{sco.sem.titre}}</a>
2021-12-10 00:54:57 +01:00
<a title="{{sco.sem.etapes_apo_str()}}">
{% if sco.sem.semestre_id != -1 %}, {{sco.sem.formation.get_cursus().SESSION_NAME}}
2021-12-10 00:54:57 +01:00
{{sco.sem.semestre_id}}
{% endif %}</a>
{% if sco.sem.modalite %} en {{sco.sem.modalite}}{% endif %}</span>
2021-12-04 21:06:32 +01:00
<span class="dates">
2024-03-01 12:03:19 +01:00
<a title="du {{sco.sem.date_debut.strftime('%d/%m/%Y')}}
au {{sco.sem.date_fin.strftime('%d/%m/%Y')}} ">{{scu.MONTH_NAMES_ABBREV[ sco.sem.date_debut.month - 1]}}
{{sco.sem.date_debut.year}} - {{scu.MONTH_NAMES_ABBREV[sco.sem.date_fin.month - 1]}}
2021-12-10 00:54:57 +01:00
{{sco.sem.date_fin.year}}</a></span>
2021-12-04 21:06:32 +01:00
<span class="resp"><a
2021-12-10 00:54:57 +01:00
title="{{sco.sem.responsables_str(abbrev_prenom=False)}}">{{sco.sem.responsables_str()}}</a></span>
<span class="nbinscrits"><a class="discretelink" href="{{url_for('scolar.groups_view', scodoc_dept=g.scodoc_dept,
formsemestre_id=sco.sem.id)}}">{{sco.sem.inscriptions|length}} inscrits</a></span><span class="lock">{% if
not sco.sem.etat %}<a href="{{url_for('notes.formsemestre_flip_lock', scodoc_dept=g.scodoc_dept,
formsemestre_id=sco.sem.id)}}">{{scu.icontag("lock_img", border="0", title="Semestre
2021-12-10 00:54:57 +01:00
verrouillé")|safe}}</a>{% endif %}</span><span class="eye">
{% if not scu.is_passerelle_disabled() %}
<a href="{{url_for('notes.formsemestre_change_publication_bul', scodoc_dept=g.scodoc_dept,
2021-12-10 00:54:57 +01:00
formsemestre_id=sco.sem.id)}}">
{% if sco.sem.bul_hide_xml %}
{{ scu.ICON_HIDDEN|safe}}
2021-12-10 00:54:57 +01:00
{% else %}
{{ scu.ICON_PUBLISHED|safe }}
2021-12-10 00:54:57 +01:00
{% endif %}
{% endif %}
2021-12-04 21:06:32 +01:00
</span>
</div>
2021-12-10 00:54:57 +01:00
2021-12-04 21:06:32 +01:00
{{ sco.sem_menu_bar|safe }}
</div>
<!-- end of formsemestre_header -->