summaryrefslogtreecommitdiffstats
path: root/templates/ng/base/alert.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ng/base/alert.tmpl')
-rw-r--r--templates/ng/base/alert.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/ng/base/alert.tmpl b/templates/ng/base/alert.tmpl
new file mode 100644
index 0000000000..df14d3c3bf
--- /dev/null
+++ b/templates/ng/base/alert.tmpl
@@ -0,0 +1,2 @@
+{{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}} \ No newline at end of file