This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/master by this push:
     new 432732b  Getting the external login logo on create account page
432732b is described below

commit 432732bd10187fe0ed3a7ece5257f9e68db141e4
Author: Marcus Christie <[email protected]>
AuthorDate: Fri Jul 26 12:02:55 2019 -0400

    Getting the external login logo on create account page
---
 .../templates/django_airavata_auth/create_account.html   | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git 
a/django_airavata/apps/auth/templates/django_airavata_auth/create_account.html 
b/django_airavata/apps/auth/templates/django_airavata_auth/create_account.html
index e7bdf2c..7160f17 100644
--- 
a/django_airavata/apps/auth/templates/django_airavata_auth/create_account.html
+++ 
b/django_airavata/apps/auth/templates/django_airavata_auth/create_account.html
@@ -6,21 +6,7 @@
 <main class="main-content">
 <div class="container">
   {% if options.external %}
-  <div class="row">
-    <div class="col">
-      <div class="card">
-        <div class="card-body">
-          <h5 class="card-title">Log in with your existing organizational 
login</h5>
-          {% for external in options.external %}
-          <a {% if next %} href="{% url 'django_airavata_auth:redirect_login' 
external.idp_alias %}?next={{ next | urlencode }}"
-            {% else %} href="{% url 'django_airavata_auth:redirect_login' 
external.idp_alias %}" {% endif %} class="btn btn-primary btn-block mt-3">
-            Sign in with {{ external.name }}
-          </a>
-          {% endfor %}
-        </div>
-      </div>
-    </div>
-  </div>
+  {% include "./partials/externals_login_form.html" %}
   {% endif %}
 
   {% if options.password %}

Reply via email to