condition Assistance to is_administrator_status

This commit is contained in:
Jean-Marie Place 2021-10-01 12:00:25 +02:00
parent 1c927cb541
commit 09e48968a6

View File

@ -167,14 +167,15 @@ Chercher étape courante: <input name="etape_apo" type="text" size="8" spellchec
% scu.NotesURL() % scu.NotesURL()
) )
# #
H.append( if current_user.is_administrator():
"""<hr> H.append(
<h3>Assistance</h3> """<hr>
<ul> <h3>Assistance</h3>
<li><a class="stdlink" href="sco_dump_and_send_db">Envoyer données</a></li> <ul>
</ul> <li><a class="stdlink" href="sco_dump_and_send_db">Envoyer données</a></li>
""" </ul>
) """
)
# #
return html_sco_header.sco_header() + "\n".join(H) + html_sco_header.sco_footer() return html_sco_header.sco_header() + "\n".join(H) + html_sco_header.sco_footer()