From 20f2b822f8bc9138e39a2517371a7b4a98ca1ff5 Mon Sep 17 00:00:00 2001 From: "Author: Nick Pope" Date: Fri, 20 Nov 2020 11:03:23 +0100 Subject: [PATCH] Added explicit HTMLElement.dir attribute in templates. --- django/contrib/admin/templates/admin/base.html | 2 +- django/contrib/gis/templates/gis/admin/openlayers.html | 2 +- django/views/templates/default_urlconf.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html index d86f138da5..e3788b9c20 100644 --- a/django/contrib/admin/templates/admin/base.html +++ b/django/contrib/admin/templates/admin/base.html @@ -1,6 +1,6 @@ {% load i18n static %} {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} - + {% block title %}{% endblock %} diff --git a/django/contrib/gis/templates/gis/admin/openlayers.html b/django/contrib/gis/templates/gis/admin/openlayers.html index 64eef66c12..6943a5beae 100644 --- a/django/contrib/gis/templates/gis/admin/openlayers.html +++ b/django/contrib/gis/templates/gis/admin/openlayers.html @@ -21,7 +21,7 @@ {% block openlayers %}{% include "gis/admin/openlayers.js" %}{% endblock %} //]]> -
+
{% if editable %} {% translate "Delete all Features" %} {% endif %} diff --git a/django/views/templates/default_urlconf.html b/django/views/templates/default_urlconf.html index dc825cf8c2..e8e180f8bc 100644 --- a/django/views/templates/default_urlconf.html +++ b/django/views/templates/default_urlconf.html @@ -1,7 +1,7 @@ {% load i18n %} {% get_current_language_bidi as LANGUAGE_BIDI %} - + {% translate "Django: the Web framework for perfectionists with deadlines." %}