ScoDoc/app/templates/formsemestre/etuds_sans_notes.j2

47 lines
1.3 KiB
Django/Jinja

{% extends "sco_page.j2" %}
{% block styles %}
{{super()}}
<style>
.sco-std-form select, .sco-std-form input[type="submit"] {
height: 24px;
}
</style>
{% endblock %}
{% block app_content %}
{% if not etuds %}
<h3>aucun étudiant sans notes</h3>
{% else %}
<h3>Étudiants sans notes&nbsp;:</h3>
<ul class="sco-links">
{% for etud in etuds %}
<li>
<a class="stdlink" href="{{ etud.url_fiche() | safe }}">
{{etud.nom_prenom()}}
</a>
</li>
{% endfor %}
</ul>
<div class="help">
Ces étudiants n'ont aucune note dans le semestre.
</div>
<form class="sco-std-form space-before-18" method="post">
<input type="hidden" name="formsemestre_id" value="{{sco.formsemestre.id}}">
<input type="hidden" name="etudid" value="{{etudid or ''}}">
Mettre toutes les notes de
{{"ces étudiants" if etuds|length > 1 else "cet étudiant"}}
à&nbsp;:
<select name="code">
<option value="ABS">ABS (absent, compte zéro)</option>
<option value="ATT" selected>ATT (en attente)</option>
<option value="EXC">EXC (neutralisée)</option>
</select>
<input type="submit" value="Enregistrer">
</form>
{% endif %}
{% endblock %}