ScoDoc/app/templates/bul_foot.j2

62 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

2022-03-07 23:43:48 +01:00
{# -*- mode: jinja-html -*- #}
{# Pied des bulletins HTML #}
2022-03-16 00:13:58 +01:00
<div class="{{css_class or "bul_foot"}}">
<div>
<p>Situation actuelle:
{% if inscription_courante %}
<a class="stdlink" href="{{url_for(
"notes.formsemestre_status",
scodoc_dept=g.scodoc_dept,
formsemestre_id=inscription_courante.formsemestre_id)
}}">{{inscription_str}}</a>
{% else %}
{{inscription_str}}
{% endif %}
</p>
2022-03-07 23:43:48 +01:00
2022-03-16 00:13:58 +01:00
{% if appreciations is not none %}
<div class="bull_appreciations">
<h3>Appréciations</h3>
{% for app in appreciations %}
<p><span class="bull_appreciations_date">{{app.date}}</span>{{
app.comment}}<span
class="bull_appreciations_link">{% if can_edit_appreciations %}<a
class="stdlink" href="{{url_for('notes.appreciation_add_form',
scodoc_dept=g.scodoc_dept, id=app.id)}}">modifier</a>
<a class="stdlink" href="{{url_for('notes.appreciation_add_form',
scodoc_dept=g.scodoc_dept, id=app.id, suppress=1)}}">supprimer</a>{% endif %}
</span>
</p>
{% endfor %}
{% if can_edit_appreciations %}
<p><a class="stdlink" href="{{url_for(
'notes.appreciation_add_form', scodoc_dept=g.scodoc_dept,
2022-04-08 07:56:58 +02:00
etudid=etud.id, formsemestre_id=formsemestre.id)
2022-03-16 00:13:58 +01:00
}}">Ajouter une appréciation</a>
</p>
{% endif %}
</div>
{% endif %}
{% if formsemestre.modalite == "EXT" %}
<p><a href="{{
url_for('notes.formsemestre_ext_edit_ue_validations',
scodoc_dept=g.scodoc_dept,
formsemestre_id=formsemestre.id,
etudid=etud.id)}}"
class="stdlink">
Éditer les validations d'UE dans ce semestre extérieur
</a></p>
{% endif %}
</div>
</div>
2022-03-07 23:43:48 +01:00
{# Place du diagramme radar #}
<form id="params">
<input type="hidden" name="etudid" id="etudid" value="{{etud.id}}"/>
<input type="hidden" name="formsemestre_id" id="formsemestre_id" value="{{formsemestre.id}}"/>
</form>
<div id="radar_bulletin"></div>