aboutsummaryrefslogtreecommitdiff
path: root/views/admin.hbs
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-25 09:32:34 +0000
committerHumairAK <humair88@hotmail.com>2016-07-25 09:32:34 +0000
commitc7bec051d61d66925d68be8661aaf52b011dedac (patch)
treef96695e584177a825f89c982adb005a079e78515 /views/admin.hbs
parent16b2dab8c2a384ccb95fca048414f33daf3925a8 (diff)
added admin confirmation and alert messages for submissions
Diffstat (limited to 'views/admin.hbs')
-rw-r--r--views/admin.hbs12
1 files changed, 12 insertions, 0 deletions
diff --git a/views/admin.hbs b/views/admin.hbs
index b821dc3..12c2ba9 100644
--- a/views/admin.hbs
+++ b/views/admin.hbs
@@ -3,6 +3,18 @@
<div class="row">
<!-- Admin control Panel --->
<div class="col-xs-12 col-sm-12 col-md-8 col-md-offset-2 col-xs-offset-0 col-sm-offset-0 toppad cpnl-details">
+ {{# if messages.success }}
+ <section class="alert alert-success custom-Alert">
+ <!-- Change those to banners later -->
+ <h4>{{ messages.success }}</h4>
+ </section>
+ {{ else }}
+ {{# if messages.error }}
+ <section class="alert alert-danger custom-Alert">
+ <h4>{{ messages.error }}</h4>
+ </section>
+ {{/if}}
+ {{/if}}
<!-- Admin Control Panel Menu -->
<nav class="navbar navbar-custom">