diff --git a/passbook/core/models.py b/passbook/core/models.py index c9c9ad7ac..41ab18e3d 100644 --- a/passbook/core/models.py +++ b/passbook/core/models.py @@ -186,6 +186,12 @@ class Source(PolicyModel): """Return additional Info, such as a callback URL. Show in the administration interface.""" return None + def has_user_settings(self): + """Entrypoint to integrate with User settings. Can either return False if no + user settings are available, or a tuple or string, string, string where the first string + is the name the item has, the second string is the icon and the third is the view-name.""" + return False + def __str__(self): return self.name diff --git a/passbook/core/templates/overview/base.html b/passbook/core/templates/overview/base.html index 07aed11a0..973f5c136 100644 --- a/passbook/core/templates/overview/base.html +++ b/passbook/core/templates/overview/base.html @@ -26,7 +26,7 @@