From 09e48968a63df3b2047ba3caaab4822e8fab129b Mon Sep 17 00:00:00 2001 From: Place Jean-Marie Date: Fri, 1 Oct 2021 12:00:25 +0200 Subject: [PATCH] condition Assistance to is_administrator_status --- app/scodoc/sco_dept.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/app/scodoc/sco_dept.py b/app/scodoc/sco_dept.py index f948ec31..b86341a0 100644 --- a/app/scodoc/sco_dept.py +++ b/app/scodoc/sco_dept.py @@ -167,14 +167,15 @@ Chercher étape courante: -

Assistance

- - """ - ) + if current_user.is_administrator(): + H.append( + """
+

Assistance

+ + """ + ) # return html_sco_header.sco_header() + "\n".join(H) + html_sco_header.sco_footer()