From bc97684b25d0c29d9f46b5f8a2edc044cf40396a Mon Sep 17 00:00:00 2001 From: fnareoh Date: Sun, 2 Feb 2020 16:27:04 +0100 Subject: [PATCH] templates: replace load staticfiles by load static --- massmailer/templates/massmailer/base.html | 2 +- massmailer/templates/massmailer/batch-create.html | 2 +- massmailer/templates/massmailer/batch-emails.html | 2 +- massmailer/templates/massmailer/batch-list.html | 2 +- massmailer/templates/massmailer/batch_confirm_delete.html | 2 +- massmailer/templates/massmailer/common.html | 2 +- massmailer/templates/massmailer/dashboard.html | 2 +- massmailer/templates/massmailer/query/details.html | 2 +- massmailer/templates/massmailer/template/details.html | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/massmailer/templates/massmailer/base.html b/massmailer/templates/massmailer/base.html index 120eec2..f06cc5c 100644 --- a/massmailer/templates/massmailer/base.html +++ b/massmailer/templates/massmailer/base.html @@ -1,4 +1,4 @@ -{% load i18n staticfiles %} +{% load i18n static %} {% load django_bootstrap_breadcrumbs %} {% get_current_language as LANGUAGE_CODE %} diff --git a/massmailer/templates/massmailer/batch-create.html b/massmailer/templates/massmailer/batch-create.html index 3fc154d..0d6f022 100644 --- a/massmailer/templates/massmailer/batch-create.html +++ b/massmailer/templates/massmailer/batch-create.html @@ -1,5 +1,5 @@ {% extends "massmailer/common.html" %} -{% load i18n staticfiles %} +{% load i18n static %} {% load django_bootstrap_breadcrumbs crispy_forms_tags %} {% block title %}{% trans "Send a new batch" %} – {{ block.super }}{% endblock %} diff --git a/massmailer/templates/massmailer/batch-emails.html b/massmailer/templates/massmailer/batch-emails.html index ba7b742..e999b13 100644 --- a/massmailer/templates/massmailer/batch-emails.html +++ b/massmailer/templates/massmailer/batch-emails.html @@ -1,5 +1,5 @@ {% extends "massmailer/common.html" %} -{% load i18n staticfiles %} +{% load i18n static %} {% load django_bootstrap_breadcrumbs crispy_forms_tags %} {% block title %}{{ batch }} – {% trans "Batch" %} – {{ block.super }}{% endblock %} diff --git a/massmailer/templates/massmailer/batch-list.html b/massmailer/templates/massmailer/batch-list.html index 54546fc..d32bcd5 100644 --- a/massmailer/templates/massmailer/batch-list.html +++ b/massmailer/templates/massmailer/batch-list.html @@ -1,5 +1,5 @@ {% extends "massmailer/common.html" %} -{% load i18n l10n staticfiles %} +{% load i18n l10n static %} {% load django_bootstrap_breadcrumbs crispy_forms_tags %} {% block title %}{% trans "Batches" %} – {{ block.super }}{% endblock %} diff --git a/massmailer/templates/massmailer/batch_confirm_delete.html b/massmailer/templates/massmailer/batch_confirm_delete.html index 86bcd24..463d590 100644 --- a/massmailer/templates/massmailer/batch_confirm_delete.html +++ b/massmailer/templates/massmailer/batch_confirm_delete.html @@ -1,5 +1,5 @@ {% extends "massmailer/common.html" %} -{% load i18n staticfiles %} +{% load i18n static %} {% load django_bootstrap_breadcrumbs crispy_forms_tags %} {% block title %}{% trans "Delete a batch" %} – {{ block.super }}{% endblock %} diff --git a/massmailer/templates/massmailer/common.html b/massmailer/templates/massmailer/common.html index 89b0a6d..44299e4 100644 --- a/massmailer/templates/massmailer/common.html +++ b/massmailer/templates/massmailer/common.html @@ -1,5 +1,5 @@ {% extends "massmailer/base.html" %} -{% load staticfiles %} +{% load static %} {% load django_bootstrap_breadcrumbs %} {% block extra_head %} diff --git a/massmailer/templates/massmailer/dashboard.html b/massmailer/templates/massmailer/dashboard.html index 1b29491..31d94e4 100644 --- a/massmailer/templates/massmailer/dashboard.html +++ b/massmailer/templates/massmailer/dashboard.html @@ -1,5 +1,5 @@ {% extends "massmailer/common.html" %} -{% load i18n staticfiles %} +{% load i18n static %} {% load django_bootstrap_breadcrumbs %} {% block title %}{% trans "Dashboard" %} – {{ block.super }}{% endblock %} diff --git a/massmailer/templates/massmailer/query/details.html b/massmailer/templates/massmailer/query/details.html index fd789d6..2e1086a 100644 --- a/massmailer/templates/massmailer/query/details.html +++ b/massmailer/templates/massmailer/query/details.html @@ -1,5 +1,5 @@ {% extends "massmailer/common.html" %} -{% load i18n staticfiles %} +{% load i18n static %} {% load django_bootstrap_breadcrumbs crispy_forms_tags %} {% block title %}{% if query %}{{ query.name }}{% else %}{% trans "New query" %}{% endif %} – {{ block.super }}{% endblock %} diff --git a/massmailer/templates/massmailer/template/details.html b/massmailer/templates/massmailer/template/details.html index 4e0e755..bf89864 100644 --- a/massmailer/templates/massmailer/template/details.html +++ b/massmailer/templates/massmailer/template/details.html @@ -1,5 +1,5 @@ {% extends "massmailer/common.html" %} -{% load i18n staticfiles %} +{% load i18n static %} {% load django_bootstrap_breadcrumbs crispy_forms_tags %} {% block title %}{% if template %}{{ template.name }}{% else %}{% trans "New template" %}{% endif %} – {{ block.super }}{% endblock %}