diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2020-08-11 19:14:42 +0000 |
---|---|---|
committer | Adam Hassick <ahassick@iol.unh.edu> | 2020-12-04 14:20:41 -0500 |
commit | aa4c5be520939d1e5f45015033a03981477b966a (patch) | |
tree | 1742c571ce002ed160c84a7584ef3c048f41e9e4 /src/templates/base | |
parent | 6e7d8af810619e7ea3d14a612c735892c5ff1a84 (diff) |
Revert "Revert "Enable OpenID""
This reverts commit 57d1635845df4a8b045805b66e8fbec5010ce97f.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I18b59409bc5b89ac5b82f767e7af52c43ae668b8
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/templates/base')
-rw-r--r-- | src/templates/base/base.html | 2 | ||||
-rw-r--r-- | src/templates/base/dashboard/landing.html | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/templates/base/base.html b/src/templates/base/base.html index cc6d38d..f86cff8 100644 --- a/src/templates/base/base.html +++ b/src/templates/base/base.html @@ -44,6 +44,7 @@ {% endif %} <i class="fas fa-caret-down rotate"></i> </a> + {% block login %} <div class="dropdown-menu dropdown-menu-right"> {% if user.is_authenticated %} <a href="{% url 'account:settings' %}" class="text-dark dropdown-item"> @@ -61,6 +62,7 @@ </a> {% endif %} </div> + {% endblock login %} </li> </ul> </div> diff --git a/src/templates/base/dashboard/landing.html b/src/templates/base/dashboard/landing.html index ecb12c6..3291606 100644 --- a/src/templates/base/dashboard/landing.html +++ b/src/templates/base/dashboard/landing.html @@ -43,9 +43,11 @@ <div class="col-12 col-lg-6 mb-4"> <h2 class="border-bottom">Get Started</h2> {% if request.user.is_anonymous %} + {% block biglogin %} <h4 class="text-center"> To get started, please log in with your <a href="/accounts/login">Linux Foundation Jira account</a> </h4> + {% endblock biglogin %} {% else %} {% block btnGrp %} <p>To get started, book a server below:</p> |