- Handle the case when the user is not logged in on the oath form

- Have the sign in form properly redirect back to the current page for GitHub login
This commit is contained in:
Joseph Schorr 2014-03-19 14:27:33 -04:00
parent 8ac67e3061
commit 8f3b87c866
2 changed files with 33 additions and 8 deletions

View file

@ -5,7 +5,13 @@
{% endblock %}
{% block body_content %}
<div class="container auth-container">
<div class="container" ng-if="user.anonymous">
<div class="col-sm-6 col-sm-offset-3">
<div class="user-setup"></div>
</div>
</div>
<div class="container auth-container" ng-if="!user.anonymous">
<div class="auth-header">
<img src="//www.gravatar.com/avatar/{{ application.organization.gravatar }}?s=48&d=identicon">
<h2><a href="{{ application.url }}" target="_blank">{{ application.name }}</a></h2>