Go to grades promotion page directly

This commit is contained in:
nemunaire 2023-03-08 04:22:45 +01:00
parent 2ee8901d8c
commit 93b5857fa6
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@ func declareStaticRoutes(router *gin.Engine) {
router.GET("/categories/*_", serveOrReverse("/"))
router.GET("/donnees-personnelles", serveOrReverse("/"))
router.GET("/grades", serveOrReverse("/"))
router.GET("/grades/*_", serveOrReverse("/"))
router.GET("/help", serveOrReverse("/"))
router.GET("/keys", serveOrReverse("/"))
router.GET("/results", serveOrReverse("/"))

View File

@ -20,7 +20,7 @@
<i class="bi bi-link-45deg"></i>
OAuth GitLab
</a>
<a href="grades" class="btn btn-success me-1 float-end" title="Notes">
<a href="grades/{filterPromo}" class="btn btn-success me-1 float-end" title="Notes">
<i class="bi bi-files"></i>
</a>
{#await getPromos() then promos}