From: Andrew Donnellan Date: Thu, 31 Oct 2019 06:57:36 +0000 (+1100) Subject: templates: Get rid of type attribute in script tags X-Git-Tag: v2.2.0-rc1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db936c178b98a4a90b1f1e69740f9350e11e3a93;p=thirdparty%2Fpatchwork.git templates: Get rid of type attribute in script tags In HTML5, the type attribute of a script tag is optional if it's JavaScript. Remove all occurrences. The only real gain is slightly smaller page output, but it also shuts up validators that like to be noisy about this. Signed-off-by: Andrew Donnellan Signed-off-by: Daniel Axtens --- diff --git a/patchwork/templates/patchwork/bundle.html b/patchwork/templates/patchwork/bundle.html index b5c9f90a..411c18b5 100644 --- a/patchwork/templates/patchwork/bundle.html +++ b/patchwork/templates/patchwork/bundle.html @@ -4,8 +4,8 @@ {% load static %} {% block headers %} - - + + {% endblock %} {% block title %}{{project.name}}{% endblock %} diff --git a/patchwork/templates/patchwork/login.html b/patchwork/templates/patchwork/login.html index e8b1a4e8..46f77edf 100644 --- a/patchwork/templates/patchwork/login.html +++ b/patchwork/templates/patchwork/login.html @@ -4,7 +4,7 @@ {% block heading %}Sign in to Patchwork{% endblock %} {% block headers %} - - - + + + - - - - + + +