aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 03:14:34 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 03:14:34 +0000
commit34f553940cd5e9fba5ca6062333f42ba741b700a (patch)
treed806ac66b323e688dcf09ba78a197ab41b4bcb5a /views
parent482401fa5777b910b099f96b0abdadf1d4cfa54c (diff)
Fixed /send_message error/success message show up.
Diffstat (limited to 'views')
-rw-r--r--views/user_profile_alt.hbs8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs
index ab6a9ce..2f10e66 100644
--- a/views/user_profile_alt.hbs
+++ b/views/user_profile_alt.hbs
@@ -151,15 +151,15 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details">
</table>
</div>
</div>
- {{# if success }}
+ {{# if messages.success }}
<section class="alert alert-success">
<!-- Change those to banners later -->
- <h2>{{ success }}</h2>
+ <h3>{{ messages.success }}</h3>
</section>
{{ else }}
- {{# if error }}
+ {{# if messages.error }}
<section class="alert alert-danger">
- <h2>{{ error }}</h2>
+ <h3>{{ messages.error }}</h3>
</section>
{{/if}}
{{/if}}