Commit 1b1eb781 by AlasdairSwan

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

parent d2accb6d
......@@ -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 ) {
......
<% 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) { %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment