ECOM-369 Styled third party auth buttons and cleaned up third party auth messaging

This commit is contained in:
AlasdairSwan
2014-10-27 11:21:19 -04:00
parent d2accb6d34
commit 1b1eb78123
2 changed files with 5 additions and 5 deletions

View File

@@ -24,6 +24,8 @@ var edx = edx || {};
preRender: function( data ) {
this.providers = data.thirdPartyAuth.providers || [];
this.currentProvider = data.thirdPartyAuth.currentProvider || '';
console.log(data);
},
render: function( html ) {

View File

@@ -1,9 +1,7 @@
<% if (currentProvider) { %>
<div class="status">
<ul class="message-copy">
<li>You've successfully signed in with <strong><%- currentProvider %></strong>.</li>
<li>We just need a little more information before you start learning with edX.</li>
</ul>
<div class="status submission-success" aria-hidden="false">
<h4 class="message-title">You've successfully signed in with <strong><%- currentProvider %></strong>.</h4>
<ul class="message-copy"></ul>
</div>
<% } else {
_.each( providers, function( provider) { %>