summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-03-19 15:26:04 -0400
committerUnknwon <u@gogs.io>2015-03-19 15:26:04 -0400
commit1cb57b1a440373cec4fcca00aa43ad9000b9b0bb (patch)
tree0d73f35d9a1634cebb5beb2213ab1f87c3a18559 /templates
parent8f0f845b14cd35ee98ecff148ccfddbcfbaef83f (diff)
downloadgitea-1cb57b1a440373cec4fcca00aa43ad9000b9b0bb.tar.gz
gitea-1cb57b1a440373cec4fcca00aa43ad9000b9b0bb.zip
#1094: fix locale
Diffstat (limited to 'templates')
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/ng/base/alert.tmpl6
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/.VERSION b/templates/.VERSION
index 00682877d9..951f708a8c 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.6.0.0318 Beta \ No newline at end of file
+0.6.0.0319 Beta \ No newline at end of file
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