Fix ScoURL

This commit is contained in:
Emmanuel Viennet 2022-04-18 07:55:12 +02:00
parent f63c1fadb8
commit 0fe10a383e
2 changed files with 1 additions and 3 deletions

View File

@ -57,7 +57,6 @@ def sidebar_common():
<a href="{scu.AbsencesURL()}" class="sidebar">Absences</a> <br/>
"""
]
if current_user.has_permission(
Permission.ScoUsersAdmin
) or current_user.has_permission(Permission.ScoUsersView):

View File

@ -325,9 +325,8 @@ def showEtudLog(etudid, format="html"):
# ---------- PAGE ACCUEIL (listes) --------------
@bp.route("/")
@bp.route("/", alias=True)
@bp.route("/index_html")
@bp.route("/index")
@scodoc
@permission_required(Permission.ScoView)
@scodoc7func