From 6c889eff272b3a93781dc1f64d41e1e67d742d48 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 20 Feb 2020 14:30:06 +0100 Subject: [PATCH] core: fix application icons not loading, fix with_sources being broken --- passbook/core/forms/applications.py | 2 + .../core/templates/login/with_sources.html | 13 ++-- passbook/core/templates/overview/index.html | 68 ++++++++++--------- passbook/sources/oauth/models.py | 2 +- 4 files changed, 46 insertions(+), 39 deletions(-) diff --git a/passbook/core/forms/applications.py b/passbook/core/forms/applications.py index 4ed05137c..8c1a91603 100644 --- a/passbook/core/forms/applications.py +++ b/passbook/core/forms/applications.py @@ -37,5 +37,7 @@ class ApplicationForm(forms.ModelForm): labels = { "meta_launch_url": _("Launch URL"), "meta_icon_url": _("Icon URL"), + "meta_description": _("Description"), + "meta_publisher": _("Publisher"), } help_texts = {"policies": _("Policies required to access this Application.")} diff --git a/passbook/core/templates/login/with_sources.html b/passbook/core/templates/login/with_sources.html index afdb50af6..76f95bcdc 100644 --- a/passbook/core/templates/login/with_sources.html +++ b/passbook/core/templates/login/with_sources.html @@ -48,13 +48,16 @@