diff options
author | Unknwon <u@gogs.io> | 2015-03-19 15:26:04 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-03-19 15:26:04 -0400 |
commit | 1cb57b1a440373cec4fcca00aa43ad9000b9b0bb (patch) | |
tree | 0d73f35d9a1634cebb5beb2213ab1f87c3a18559 /templates/ng | |
parent | 8f0f845b14cd35ee98ecff148ccfddbcfbaef83f (diff) | |
download | gitea-1cb57b1a440373cec4fcca00aa43ad9000b9b0bb.tar.gz gitea-1cb57b1a440373cec4fcca00aa43ad9000b9b0bb.zip |
#1094: fix locale
Diffstat (limited to 'templates/ng')
-rw-r--r-- | templates/ng/base/alert.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/ng/base/alert.tmpl b/templates/ng/base/alert.tmpl index 329ae9108d..4c2976a914 100644 --- a/templates/ng/base/alert.tmpl +++ b/templates/ng/base/alert.tmpl @@ -1,3 +1,3 @@ -{{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}}
\ No newline at end of file +{{if .Flash.ErrorMsg}}<span class="alert alert-red alert-radius block text-bold"><i class="octicon octicon-alert"></i>{{.Flash.ErrorMsg|Str2html}}</span>{{end}} +{{if .Flash.SuccessMsg}}<div class="alert alert-green alert-radius block"><i class="octicon octicon-check"></i>{{.Flash.SuccessMsg|Str2html}}</div>{{end}} +{{if .Flash.InfoMsg}}<div class="alert alert-blue alert-radius block"><i class="octicon octicon-info"></i>{{.Flash.InfoMsg|Str2html}}</div>{{end}}
\ No newline at end of file |