diff --git a/combo/apps/dashboard/templates/combo/dashboardcell.html b/combo/apps/dashboard/templates/combo/dashboardcell.html index daf76666..358ffa38 100644 --- a/combo/apps/dashboard/templates/combo/dashboardcell.html +++ b/combo/apps/dashboard/templates/combo/dashboardcell.html @@ -1,4 +1,4 @@ -{% load combo i18n %} +{% load i18n %} {% block cell-content %} {% for tile in tiles %} {% with cell=tile.cell %} diff --git a/combo/apps/family/templates/family/infos.html b/combo/apps/family/templates/family/infos.html index 7dcfd5d9..596f04c1 100644 --- a/combo/apps/family/templates/family/infos.html +++ b/combo/apps/family/templates/family/infos.html @@ -1,4 +1,4 @@ -{% load i18n combo %} +{% load i18n %} {% block cell-content %}

{% trans "Informations related to your family" %}

diff --git a/combo/apps/lingo/templates/lingo/tipi_form.html b/combo/apps/lingo/templates/lingo/tipi_form.html index d0f87bc4..7a71c2d7 100644 --- a/combo/apps/lingo/templates/lingo/tipi_form.html +++ b/combo/apps/lingo/templates/lingo/tipi_form.html @@ -1,4 +1,4 @@ -{% load i18n combo %} +{% load i18n %} {% if title %}

{{ title }}

{% endif %}
{% trans "Introduction" context "tipi" as tipi_intro %} diff --git a/combo/apps/pwa/templates/combo/pwa/navigation.html b/combo/apps/pwa/templates/combo/pwa/navigation.html index ca8cf5e3..71e0df91 100644 --- a/combo/apps/pwa/templates/combo/pwa/navigation.html +++ b/combo/apps/pwa/templates/combo/pwa/navigation.html @@ -1,4 +1,3 @@ -{% load combo %} {% if entries|length %}
diff --git a/combo/apps/pwa/templates/combo/service-worker-registration.js b/combo/apps/pwa/templates/combo/service-worker-registration.js index 0dc27e68..a3669a7b 100644 --- a/combo/apps/pwa/templates/combo/service-worker-registration.js +++ b/combo/apps/pwa/templates/combo/service-worker-registration.js @@ -1,5 +1,3 @@ -{% load combo %} - var applicationServerPublicKey = {{ pwa_vapid_public_key|as_json|safe }}; var COMBO_PWA_USER_SUBSCRIPTION = false; diff --git a/combo/apps/pwa/templates/combo/service-worker.js b/combo/apps/pwa/templates/combo/service-worker.js index 47673bff..c3348fc3 100644 --- a/combo/apps/pwa/templates/combo/service-worker.js +++ b/combo/apps/pwa/templates/combo/service-worker.js @@ -1,4 +1,4 @@ -{% load combo gadjo static thumbnail %} +{% load gadjo static thumbnail %} /* global self, caches, fetch, URL, Response */ 'use strict'; diff --git a/combo/apps/wcs/templates/combo/wcs/backoffice_submission.html b/combo/apps/wcs/templates/combo/wcs/backoffice_submission.html index 83e431b7..136a7d95 100644 --- a/combo/apps/wcs/templates/combo/wcs/backoffice_submission.html +++ b/combo/apps/wcs/templates/combo/wcs/backoffice_submission.html @@ -1,4 +1,4 @@ -{% load combo i18n %} +{% load i18n %} {% block cell-content %}

{% trans "New Form" %}

{% for site_formdefs in all_formdefs.values %} diff --git a/combo/apps/wcs/templates/combo/wcs/current_drafts.html b/combo/apps/wcs/templates/combo/wcs/current_drafts.html index 853f8493..9e7489e3 100644 --- a/combo/apps/wcs/templates/combo/wcs/current_drafts.html +++ b/combo/apps/wcs/templates/combo/wcs/current_drafts.html @@ -1,4 +1,4 @@ -{% load i18n combo %} +{% load i18n %} {% block cell-content %}

{% trans 'Current Drafts' %}

{% for slug, forms in current_drafts.items %} diff --git a/combo/apps/wcs/templates/combo/wcs/user_all_forms.html b/combo/apps/wcs/templates/combo/wcs/user_all_forms.html index 36c2faaf..10b83e76 100644 --- a/combo/apps/wcs/templates/combo/wcs/user_all_forms.html +++ b/combo/apps/wcs/templates/combo/wcs/user_all_forms.html @@ -1,4 +1,4 @@ -{% load combo i18n %} +{% load i18n %} {% block cell-content %}

{% trans 'All Forms' %}

{% for slug, forms in user_forms.items %} diff --git a/combo/apps/wcs/templates/combo/wcs/user_done_forms.html b/combo/apps/wcs/templates/combo/wcs/user_done_forms.html index 2455a6fe..be4c61bc 100644 --- a/combo/apps/wcs/templates/combo/wcs/user_done_forms.html +++ b/combo/apps/wcs/templates/combo/wcs/user_done_forms.html @@ -1,4 +1,4 @@ -{% load combo i18n %} +{% load i18n %} {% block cell-content %}

{% trans 'Done Forms' %}

{% for slug, forms in user_forms.items %} diff --git a/combo/profile/models.py b/combo/profile/models.py index 0e1ad4c1..6c5c4a0e 100644 --- a/combo/profile/models.py +++ b/combo/profile/models.py @@ -43,7 +43,7 @@ class ProfileCell(JsonCellBase): @property def url(self): idp = list(settings.KNOWN_SERVICES.get('authentic').values())[0] - return '{%% load combo %%}%sapi/users/{{ concerned_user|name_id }}/' % idp.get('url') + return '%sapi/users/{{ concerned_user|name_id }}/' % idp.get('url') def is_visible(self, user=None): if not user or user.is_anonymous: diff --git a/combo/public/templates/combo/menu.html b/combo/public/templates/combo/menu.html index dc74f9ac..8a8b241a 100644 --- a/combo/public/templates/combo/menu.html +++ b/combo/public/templates/combo/menu.html @@ -1,4 +1,3 @@ -{% load combo %} {% if menuitems %}