adjust: ajouter emojis à certaines web responses
This commit is contained in:
parent
6cc90b1a29
commit
8af11615dd
1 changed files with 3 additions and 3 deletions
6
cmd.go
6
cmd.go
|
@ -184,13 +184,13 @@ var webCmd = &cobra.Command{
|
||||||
return c.Render(
|
return c.Render(
|
||||||
http.StatusOK,
|
http.StatusOK,
|
||||||
"index-html",
|
"index-html",
|
||||||
voki.MessageResponse{Message: "Veuillez entrer un numéro étudiant à rechercher"},
|
voki.MessageResponse{Message: "❗Veuillez entrer un numéro étudiant à rechercher"},
|
||||||
)
|
)
|
||||||
case !IsMembreID(membreID):
|
case !IsMembreID(membreID):
|
||||||
return c.Render(
|
return c.Render(
|
||||||
http.StatusOK,
|
http.StatusOK,
|
||||||
"index-html",
|
"index-html",
|
||||||
voki.MessageResponse{Message: fmt.Sprintf("Numéro étudiant '%s' invalide", membreID)},
|
voki.MessageResponse{Message: fmt.Sprintf("❗Numéro étudiant '%s' invalide", membreID)},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ var webCmd = &cobra.Command{
|
||||||
return c.Render(
|
return c.Render(
|
||||||
http.StatusOK,
|
http.StatusOK,
|
||||||
"index-html",
|
"index-html",
|
||||||
voki.MessageResponse{Message: fmt.Sprintf("erreur: %s", err)},
|
voki.MessageResponse{Message: fmt.Sprintf("❗erreur: %s", err)},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue