summaryrefslogtreecommitdiffstats
path: root/templates/base/alert.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base/alert.tmpl')
-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 cf886f529c..b8a04b89a9 100644
--- a/templates/base/alert.tmpl
+++ b/templates/base/alert.tmpl
@@ -13,3 +13,8 @@
<p>{{.Flash.InfoMsg | Str2html}}</p>
</div>
{{end}}
+{{if .Flash.WarningMsg}}
+ <div class="ui warning message flash-warning">
+ <p>{{.Flash.WarningMsg | Str2html}}</p>
+ </div>
+{{end}}