1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 06:14:53 +01:00
gitea/templates/ng/base/alert.tmpl
2014-10-10 06:15:27 -04:00

3 lines
435 B
Go HTML Template

{{if .Flash.ErrorMsg}}<span class="alert alert-red alert-radius block text-bold"><i class="octicon octicon-alert"></i>{{.Flash.ErrorMsg}}</span>{{end}}
{{if .Flash.SuccessMsg}}<div class="alert alert-green alert-radius block"><i class="octicon octicon-check"></i>{{.Flash.SuccessMsg}}</div>{{end}}
{{if .Flash.InfoMsg}}<div class="alert alert-blue alert-radius block"><i class="octicon octicon-info"></i>{{.Flash.InfoMsg}}</div>{{end}}