-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add "Setup Auth org id" action for Enterprise Customers
ENT-8169
- Loading branch information
Showing
13 changed files
with
353 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
Your project description goes here. | ||
""" | ||
|
||
__version__ = "4.8.18" | ||
__version__ = "4.8.19" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
enterprise/templates/enterprise/admin/setup_auth_org_id.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{% extends "admin/base_site.html" %} | ||
{% load i18n static admin_urls %} | ||
|
||
{% block breadcrumbs %} | ||
<div class="breadcrumbs"> | ||
<a href="{% url 'admin:index' %}">{% trans "Home" %}</a> | ||
› <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a> | ||
› {% if has_change_permission %} | ||
<a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a> | ||
{% else %} | ||
{{ opts.verbose_name_plural|capfirst }} | ||
{% endif %} | ||
› {% if has_change_permission %} | ||
<a href="{% url opts|admin_urlname:'change' enterprise_customer.uuid %}"> | ||
{{ enterprise_customer|truncatewords:"18" }} | ||
</a> | ||
{% else %} | ||
{{ enterprise_customer|capfirst }} | ||
{% endif %} | ||
› | ||
{% trans "Setup Auth org id" %} | ||
</div> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div id="content-main"> | ||
<div class="forms-panel"> | ||
<h1>{% trans "Setup Auth org id" %}</h1> | ||
<p> | ||
This action is required for customers who will have learners in executive education courses. Setting up the | ||
Auth org id will enable the enterprise's learners to take Exec ed or OCM courses using the same set of login | ||
credentials. Clicking the button below will facilitate the necessary steps with our identity vendor, Auth0, and | ||
will overwrite any value that may already be in the "Auth org id" field. | ||
</p> | ||
<form action="" method="post" id="setup-auth-org-id-form"> | ||
{% csrf_token %} | ||
<div style="display:flex";> | ||
<div style="vertical-align:top"> | ||
<input type="hidden" name="post" value="submit" /> | ||
<input type="hidden" name="action" value="submit" /> | ||
<input type="submit" value="{% trans "Setup Auth org id" %}" /> | ||
</div> | ||
<div style="margin-left:0.5rem"> | ||
<input type="button" value="Cancel" onclick="history.go(-1)"/> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block footer %} | ||
{{ block.super }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.