diff --git a/app/scodoc/sco_page_etud.py b/app/scodoc/sco_page_etud.py index 7b79d06b0..fc583aa5c 100644 --- a/app/scodoc/sco_page_etud.py +++ b/app/scodoc/sco_page_etud.py @@ -255,10 +255,19 @@ def ficheEtud(etudid=None, REQUEST=None): with_all_columns=False, a_url="Notes/", ) - info["link_bul_pdf"] = ( - 'tous les bulletins' - % etud - ) + info[ + "link_bul_pdf" + ] = f"""tous les bulletins""" + if authuser.has_permission(Permission.ScoEtudInscrit): + info[ + "link_inscrire_ailleurs" + ] = f"""inscrire à un autre semestre""" + else: + info["link_inscrire_ailleurs"] = "" else: # non inscrit l = ["
Etudiant%s non inscrit%s" % (info["ne"], info["ne"])]
@@ -393,10 +402,11 @@ def ficheEtud(etudid=None, REQUEST=None):
"inscriptions_mkup"
] = """