Fix formattage de handlers html

This commit is contained in:
Victor Lacasse-Beaudoin 2023-04-26 15:15:43 -04:00
parent 0c1d88742d
commit 51d5dde7b4

View file

@ -573,16 +573,20 @@ func handleActualiteArticle(c echo.Context) error {
article := c.Param("article") article := c.Param("article")
return c.String(http.StatusOK, fmt.Sprintf("Article: %s", article)) return c.String(http.StatusOK, fmt.Sprintf("Article: %s", article))
} }
func handleVieEtudiante(c echo.Context) error { func handleVieEtudiante(c echo.Context) error {
return c.Render(http.StatusOK, "vie-etudiante-html", nil) return c.Render(http.StatusOK, "vie-etudiante-html", nil)
} }
func handleVieEtudianteOrganisme(c echo.Context) error { func handleVieEtudianteOrganisme(c echo.Context) error {
organisme := c.Param("organisme") organisme := c.Param("organisme")
return c.String(http.StatusOK, fmt.Sprintf("Organisme: %s", organisme)) return c.String(http.StatusOK, fmt.Sprintf("Organisme: %s", organisme))
} }
func handleDocumentation(c echo.Context) error { func handleDocumentation(c echo.Context) error {
return c.Render(http.StatusOK, "documentation-html", nil) return c.Render(http.StatusOK, "documentation-html", nil)
} }
func handleFormulaires(c echo.Context) error { func handleFormulaires(c echo.Context) error {
return c.Render(http.StatusOK, "formulaires-html", nil) return c.Render(http.StatusOK, "formulaires-html", nil)
} }