ScoDoc/app/templates/formsemestre_page_title.j2

41 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 #}
<div class="formsemestre_page_title">
<div class="infos">
<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}}
{%- 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
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 -%}
<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 -%}
2022-03-07 21:49:11 +01:00
</span><span class="eye"><a href="{{
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 -%}
{{scu.icontag("hide_img", border="0", title="Bulletins NON publiés")|safe}}
{%- else -%}
{{scu.icontag("eye_img", border="0", title="Bulletins publiés")|safe}}
{%- endif -%}
</a></span>
2022-03-07 21:49:11 +01:00
</div>
{{sem_menu_bar|safe}}
</div>