ECOM-369 Styled third party auth buttons and cleaned up third party auth messaging
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
@@ -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) { %>
|
||||
|
||||
Reference in New Issue
Block a user