Commit dca2b95e by Will Daly

Merge pull request #7010 from edx/will/ecom-1060

ECOM-1060: Logistration third-party auth improvements
parents 1fb580e3 a5f173df
...@@ -84,7 +84,7 @@ $sm-btn-linkedin: #0077b5; ...@@ -84,7 +84,7 @@ $sm-btn-linkedin: #0077b5;
form { form {
border: 1px solid $gray-l4; border: 1px solid $gray-l4;
border-radius: 5px; border-radius: 5px;
padding: 0 25px; padding: 0px 25px 20px 25px;
} }
.section-title { .section-title {
...@@ -155,7 +155,7 @@ $sm-btn-linkedin: #0077b5; ...@@ -155,7 +155,7 @@ $sm-btn-linkedin: #0077b5;
display: block; display: block;
font-weight: normal; font-weight: normal;
color: $gray; color: $gray;
margin: 10px; margin: 10px 10px 0px 10px;
color: $m-gray-l1; color: $m-gray-l1;
text-align: center; text-align: center;
} }
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
<button type="submit" class="action action-primary action-update js-login login-button"><%- gettext("Sign in") %></button> <button type="submit" class="action action-primary action-update js-login login-button"><%- gettext("Sign in") %></button>
<% if ( context.providers.length > 0 && !context.currentProvider ) { %>
<div class="login-providers"> <div class="login-providers">
<div class="section-title lines"> <div class="section-title lines">
<h2> <h2>
...@@ -48,6 +49,7 @@ ...@@ -48,6 +49,7 @@
<% } <% }
}); %> }); %>
</div> </div>
<% } %>
</form> </form>
<div class="toggle-form"> <div class="toggle-form">
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<%- _.sprintf( gettext("We just need a little more information before you start learning with %(platformName)s."), context ) %> <%- _.sprintf( gettext("We just need a little more information before you start learning with %(platformName)s."), context ) %>
</p> </p>
</div> </div>
<% } else { %> <% } else if ( context.providers.length > 0 ) { %>
<div class="login-providers"> <div class="login-providers">
<div class="section-title lines"> <div class="section-title lines">
<h2> <h2>
...@@ -28,13 +28,18 @@ ...@@ -28,13 +28,18 @@
<% } <% }
}); %> }); %>
</div> </div>
<% } %>
<div class="section-title lines"> <div class="section-title lines">
<h2> <h2>
<span class="text"><%- gettext("or create a new one here") %></span> <span class="text"><%- gettext("or create a new one here") %></span>
</h2> </h2>
</div> </div>
<% } else { %>
<div class="section-title lines">
<h2>
<span class="text"><%- gettext("Create a new account") %></span>
</h2>
</div>
<% } %>
<%= context.fields %> <%= context.fields %>
......
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