condition Assistance to is_administrator_status #141
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user