ScoDoc/app/templates/formsemestre_page_title.j2

44 lines
2.3 KiB
Plaintext
Raw Permalink Normal View History

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',
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
}}">, {{
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')}}
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-03-01 12:03:19 +01:00
class="nbinscrits"><a class="discretelink" href="{{url_for('scolar.groups_view',
2022-03-07 21:49:11 +01:00
scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre.id)
}}">{{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 )}}">{{
scu.icontag("lock_img", border="0", title="Semestre verrouillé")|safe
}}</a>
{%- endif -%}
</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
}}">{%-
if formsemestre.bul_hide_xml -%}
2024-03-23 10:17:49 +01:00
{{scu.ICON_HIDDEN|safe}}
{%- else -%}
2024-03-23 10:17:49 +01:00
{{scu.ICON_PUBLISHED|safe}}
{%- endif -%}
</a></span>
{%- endif -%}
2022-03-07 21:49:11 +01:00
</div>
{{sem_menu_bar|safe}}
</div>