dashboard: improve general design (mostly events related)
This commit is contained in:
parent
83ad6340b2
commit
aa3750bb68
11 changed files with 70 additions and 44 deletions
|
@ -31,7 +31,7 @@ func treatRename(pathname string, team fic.Team) {
|
|||
if err := genTeamMyFile(team); err != nil {
|
||||
log.Println("my-", team.Id, ".json generation error: ", err)
|
||||
}
|
||||
if _, err := fic.NewEvent(fmt.Sprintf("Souhaitons bonne chance à l'équipe <strong>%s</strong> qui vient de nous rejoindre !", 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 !", team.Name), "info"); err != nil {
|
||||
log.Println("[WRN] Unable to create event:", err)
|
||||
}
|
||||
if err := genEventsFile(); err != nil {
|
||||
|
|
Reference in a new issue