summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/alert.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/base/alert.tmpl b/templates/base/alert.tmpl
index 15eeb566bd..c845e36dc5 100644
--- a/templates/base/alert.tmpl
+++ b/templates/base/alert.tmpl
@@ -2,4 +2,9 @@
<div class="ui negative message">
<p>{{.Flash.ErrorMsg}}</p>
</div>
+{{end}}
+{{if .Flash.SuccessMsg}}
+<div class="ui positive message">
+ <p>{{.Flash.SuccessMsg}}</p>
+</div>
{{end}} \ No newline at end of file