Skip to content
Snippets Groups Projects
Unverified Commit d7fca395 authored by Saleem Latif's avatar Saleem Latif Committed by GitHub
Browse files

Merge pull request #18045 from edx/saleem-latif/ENT-908

ENT-908: Hide SSO related messages on login page if user is not in the SSO pipeline.
parents c346b642 361f4a6b
Branches
Tags
No related merge requests found
<div class="js-form-feedback" aria-live="assertive" tabindex="-1">
</div>
<% if ( context.createAccountOption !== false && !context.syncLearnerProfileData && !context.enterpriseName) { %>
<% if ( context.createAccountOption !== false && !context.syncLearnerProfileData && !(context.enterpriseName && context.currentProvider) ) { %>
<div class="toggle-form">
<span class="text"><%- gettext("First time here?") %></span>
<a href="#login" class="form-toggle" data-type="register"><%- gettext("Create an Account.") %></a>
</div>
<% } %>
<% if (context.enterpriseName) { %>
<% // Hide SSO related messages if we are not in the SSO pipeline. %>
<% if (context.enterpriseName && context.currentProvider) { %>
<% if (context.pipelineUserDetails && context.pipelineUserDetails.email) { %>
<h2><%- gettext("Sign in to continue learning as {email}").replace("{email}", context.pipelineUserDetails.email) %></h2>
<% } else { %>
......
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