dashboard: improve general design (mostly events related)

This commit is contained in:
nemunaire 2018-12-09 18:35:28 +01:00
commit aa3750bb68
11 changed files with 70 additions and 44 deletions

View file

@ -39,7 +39,7 @@ func treatRegistration(pathname string, team_id string) {
if err := os.Remove(pathname); err != nil {
log.Println("[WRN]", err)
}
if _, err := fic.NewEvent(fmt.Sprintf("Souhaitons bonne chance à l'équipe <strong>%s</strong> qui vient de nous rejoindre&nbsp;!", team.Name), "alert-info"); err != nil {
if _, err := fic.NewEvent(fmt.Sprintf("Souhaitons bonne chance à l'équipe <strong>%s</strong> qui vient de nous rejoindre&nbsp;!", team.Name), "info"); err != nil {
log.Println("[WRN] Unable to create event:", err)
}