Fix: en-tête semestre (icons)

This commit is contained in:
Emmanuel Viennet 2022-03-14 20:48:45 +01:00
parent c86ea35d91
commit ef88627899

View File

@ -29,17 +29,17 @@
}}" }}"
>{{formsemestre.etuds_inscriptions|length}} inscrits</a></span><span >{{formsemestre.etuds_inscriptions|length}} inscrits</a></span><span
class="lock"> class="lock">
{%-if formsemestre.etat -%} {%-if not formsemestre.etat -%}
<a href="{{ url_for( 'notes.formsemestre_change_lock', <a href="{{ url_for( 'notes.formsemestre_change_lock',
scodoc_dept=scodoc_dept, formsemestre_id=formsemestre.id )}}">{{ scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre.id )}}">{{
scu.icontag("lock_img", border="0", title="Semestre verrouillé")|safe scu.icontag("lock_img", border="0", title="Semestre verrouillé")|safe
}}</a> }}</a>
{%- endif -%} {%- endif -%}
</span><span class="eye"><a href="{{ </span><span class="eye"><a href="{{
url_for('notes.formsemestre_change_publication_bul', url_for('notes.formsemestre_change_publication_bul',
scodoc_dept=scodoc_dept, formsemestre_id=formsemestre.id ) scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre.id )
}}">{%- }}">{%-
if formsemestre.bul_hide_xml -%}} if formsemestre.bul_hide_xml -%}
{{scu.icontag("hide_img", border="0", title="Bulletins NON publiés")|safe}} {{scu.icontag("hide_img", border="0", title="Bulletins NON publiés")|safe}}
{%- else -%} {%- else -%}
{{scu.icontag("eye_img", border="0", title="Bulletins publiés")|safe}} {{scu.icontag("eye_img", border="0", title="Bulletins publiés")|safe}}