Better messaging when creating a user on the landing page

Fixes #230
This commit is contained in:
Joseph Schorr 2015-07-14 14:00:29 +03:00
parent 9453d67c32
commit 634190d1f9
6 changed files with 28 additions and 12 deletions

View file

@ -2,6 +2,11 @@
<div class="landing-background" ng-class="user.anonymous ? 'landing': 'signedin'"></div>
<div class="landing-filter" ng-class="user.anonymous ? 'landing': 'signedin'"></div>
<div class="landing-content">
<div class="co-alert co-alert-info" style="color:black;" ng-show="userRegistered">
Thank you for registering! We have sent you an activation email.
You must <b>verify your email address</b> before you can continue.
</div>
<div class="cor-container">
<div class="row messages">
<div class="col-md-7">
@ -43,7 +48,8 @@
<div class="col-md-4 col-md-offset-1">
<div ng-show="user.anonymous">
<div class="signup-form"></div>
<div class="signup-form" user-registered="handleUserRegistered()"
hide-registered-message="true"></div>
</div>
<div ng-show="!user.anonymous" class="user-welcome">
<span class="avatar" size="128" data="user.avatar"></span>