72 lines
2.7 KiB
Django/Jinja
72 lines
2.7 KiB
Django/Jinja
{# -*- mode: jinja-html -*- #}
|
|
{# L'en-tête des bulletins HTML #}
|
|
{# was _formsemestre_bulletinetud_header_html #}
|
|
|
|
<div class="bull_head">
|
|
<div class="bull_head_text">
|
|
{% if not is_apc %}
|
|
<h2><a class="discretelink" href="{{
|
|
url_for(
|
|
"scolar.ficheEtud", scodoc_dept=g.scodoc_dept, etudid=etud.id,
|
|
)}}">{{etud.nomprenom}}</a></h2>
|
|
{% endif %}
|
|
<form name="f" method="GET" action="{{request.base_url}}">
|
|
<input type="hidden" name="formsemestre_id" value="{{formsemestre.id}}"></input>
|
|
<input type="hidden" name="etudid" value="{{etud.id}}"></input>
|
|
<input type="hidden" name="fmt" value="{{fmt}}"></input>
|
|
Bulletin
|
|
<span class="bull_liensemestre">
|
|
{{formsemestre.html_link_status() | safe}}
|
|
</span>
|
|
|
|
<div>
|
|
<em>établi le {{time.strftime("%d/%m/%Y à %Hh%M")}} (notes sur 20)</em>
|
|
<span class="rightjust">
|
|
<select name="version" onchange="document.f.submit()" class="noprint">
|
|
{% for (v, e) in (
|
|
("short", "Version courte"),
|
|
("selectedevals", "Version intermédiaire"),
|
|
("long", "Version complète"),
|
|
) %}
|
|
<option value="{{v}}" {% if (v == version) %}selected{% endif %}>{{e}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</span>
|
|
<span class="bulletin_menubar">
|
|
<span class="bulletin_menubar_but">{{menu_autres_operations|safe}}</span>
|
|
<a href="{{url_for(
|
|
'notes.formsemestre_bulletinetud',
|
|
scodoc_dept=g.scodoc_dept,
|
|
formsemestre_id=formsemestre.id,
|
|
etudid=etud.id,
|
|
fmt='pdf',
|
|
version=version,
|
|
)}}">{{scu.ICON_PDF|safe}}</a>
|
|
</span>
|
|
</div>
|
|
{% if formsemestre.formation.is_apc() %}
|
|
<div>
|
|
<a style="margin-left: 32px;" class="stdlink"
|
|
href="{{url_for(
|
|
'notes.bulletin_but_html',
|
|
scodoc_dept=g.scodoc_dept,
|
|
formsemestre_id=formsemestre.id,
|
|
etudid=etud.id
|
|
)}}">version courte spéciale BUT</a>
|
|
<a style="margin-left: 32px;" class="stdlink"
|
|
href="{{url_for('notes.validation_rcues',
|
|
scodoc_dept=g.scodoc_dept, etudid=etud.id,
|
|
formsemestre_id=formsemestre.id
|
|
)}}">visualiser les compétences BUT</a>
|
|
</div>
|
|
{% endif %}
|
|
</form>
|
|
</div>
|
|
{% if not is_apc %}
|
|
<div class="bull_photo"><a href="{{
|
|
url_for('scolar.ficheEtud', scodoc_dept=g.scodoc_dept, etudid=etud.id)
|
|
}}">{{etud.photo_html(title="fiche de " + etud["nom"])|safe}}</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|