diff --git a/passbook/admin/templates/administration/source/list.html b/passbook/admin/templates/administration/source/list.html
index 2d7c6c545..f87bd176a 100644
--- a/passbook/admin/templates/administration/source/list.html
+++ b/passbook/admin/templates/administration/source/list.html
@@ -27,6 +27,7 @@
{{ source.name }} |
{{ source|fieldtype }} |
+ {{ source.additional_info }} |
{% trans 'Edit' %}
diff --git a/passbook/core/models.py b/passbook/core/models.py
index ab8283afc..f06345380 100644
--- a/passbook/core/models.py
+++ b/passbook/core/models.py
@@ -155,10 +155,15 @@ class Source(PolicyModel):
return False
@property
- def get_url(self):
- """Return URL used for logging in"""
+ def get_login_button(self):
+ """Return a tuple of URL, Icon name and Name"""
raise NotImplementedError
+ @property
+ def additional_info(self):
+ """Return additional Info, such as a callback URL. Show in the administration interface."""
+ return None
+
def __str__(self):
return self.name
diff --git a/passbook/core/templates/login/base.html b/passbook/core/templates/login/base.html
index 429f90c62..42ecaf5b4 100644
--- a/passbook/core/templates/login/base.html
+++ b/passbook/core/templates/login/base.html
@@ -23,16 +23,16 @@
{% endblock %}
{% block body %}
+
+ {% include 'partials/messages.html' with toast=True %}
+
-
- {% include 'partials/messages.html' %}
-
|