diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2020-02-26 19:47:10 +0100 |
---|---|---|
committer | Jelle van der Waa <jelle@archlinux.org> | 2020-04-08 22:07:52 +0200 |
commit | 037856215908bb67d89da24bc26a25da8c119b91 (patch) | |
tree | 2efd4671cc962c775d759b739c2d1fdc1d9f5573 | |
parent | c7bb768bb4f40b760bbb7ebbead719e11eb8aed1 (diff) | |
download | archweb-037856215908bb67d89da24bc26a25da8c119b91.tar.gz archweb-037856215908bb67d89da24bc26a25da8c119b91.zip |
templates: "load staticfiles" is deprecated in favor of "load static"
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
33 files changed, 33 insertions, 33 deletions
diff --git a/templates/admin/index.html b/templates/admin/index.html index 89ee1df1..9549bcad 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -1,5 +1,5 @@ {% extends "admin/base_site.html" %} -{% load i18n admin_static %} +{% load i18n static %} {% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />{% endblock %} diff --git a/templates/base.html b/templates/base.html index 27b675a6..e0f2ccfa 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,4 +1,4 @@ -{% load static from staticfiles %}<!DOCTYPE html> +{% load static %}<!DOCTYPE html> {% load group %} <html lang="en"> <head> diff --git a/templates/devel/admin_log.html b/templates/devel/admin_log.html index 05130491..586b1993 100644 --- a/templates/devel/admin_log.html +++ b/templates/devel/admin_log.html @@ -1,5 +1,5 @@ {% extends "admin/base_site.html" %} -{% load i18n admin_static %} +{% load i18n static %} {% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/dashboard.css" %}" />{% endblock %} diff --git a/templates/devel/clock.html b/templates/devel/clock.html index 08163407..79d31501 100644 --- a/templates/devel/clock.html +++ b/templates/devel/clock.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load flags %} {% load tz %} diff --git a/templates/devel/index.html b/templates/devel/index.html index 5adec682..793a2bad 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load cache %} {% load package_extras %} {% load todolists %} diff --git a/templates/devel/packages.html b/templates/devel/packages.html index a3908912..d55c090d 100644 --- a/templates/devel/packages.html +++ b/templates/devel/packages.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load attributes %} {% load package_extras %} diff --git a/templates/devel/profile.html b/templates/devel/profile.html index 8a838caa..9a12dc91 100644 --- a/templates/devel/profile.html +++ b/templates/devel/profile.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - Edit Profile{% endblock %} diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html index dd19e80d..36706241 100644 --- a/templates/mirrors/mirror_details.html +++ b/templates/mirrors/mirror_details.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load mirror_status %} {% load admin_urls %} diff --git a/templates/mirrors/mirrors.html b/templates/mirrors/mirrors.html index 56be6adc..014db0a3 100644 --- a/templates/mirrors/mirrors.html +++ b/templates/mirrors/mirrors.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load flags %} {% block title %}Arch Linux - Mirror Overview{% endblock %} diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index eb80e502..152e562c 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load mirror_status %} {% block title %}Arch Linux - Mirror Status{% if tier != None %} - Tier {{ tier }}{% endif %}{% endblock %} diff --git a/templates/mirrors/url_details.html b/templates/mirrors/url_details.html index ca2211d3..ce459445 100644 --- a/templates/mirrors/url_details.html +++ b/templates/mirrors/url_details.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load mirror_status %} {% load flags %} diff --git a/templates/news/add.html b/templates/news/add.html index 3f4378ed..a12daa37 100644 --- a/templates/news/add.html +++ b/templates/news/add.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - News: {% if form.instance.id %}Edit{% else %}Add{% endif %} Article{% endblock %} {% block content %} diff --git a/templates/packages/details.html b/templates/packages/details.html index cbff745f..f364d995 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.full_version }} ({{ pkg.arch.name }}){% endblock %} {% block navbarclass %}anb-packages{% endblock %} diff --git a/templates/packages/differences.html b/templates/packages/differences.html index ec82ea4a..a2444161 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load package_extras %} {% block title %}Arch Linux - Package Differences Reports{% endblock %} diff --git a/templates/packages/flaghelp.html b/templates/packages/flaghelp.html index 5791fda2..91f04792 100644 --- a/templates/packages/flaghelp.html +++ b/templates/packages/flaghelp.html @@ -1,4 +1,4 @@ -{% load static from staticfiles %}<!DOCTYPE html> +{% load static %}<!DOCTYPE html> <html lang="en"> <head> <title>Flagging Packages</title> diff --git a/templates/packages/groups.html b/templates/packages/groups.html index b7b6419d..873acf6a 100644 --- a/templates/packages/groups.html +++ b/templates/packages/groups.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - Package Groups{% if arch %} - {{ arch }}{% endif %}{% endblock %} {% block navbarclass %}anb-packages{% endblock %} diff --git a/templates/packages/opensearch.xml b/templates/packages/opensearch.xml index 6c50d991..a0f9592e 100644 --- a/templates/packages/opensearch.xml +++ b/templates/packages/opensearch.xml @@ -1,4 +1,4 @@ -{% load static from staticfiles %}<?xml version="1.0" encoding="UTF-8"?> +{% load static %}<?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>Arch Packages</ShortName> <LongName>Arch Linux Package Repository Search</LongName> diff --git a/templates/packages/packages_list.html b/templates/packages/packages_list.html index cc5077f5..16b42849 100644 --- a/templates/packages/packages_list.html +++ b/templates/packages/packages_list.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load package_extras %} {% block title %}Arch Linux - {{ name }} ({{ arch.name }}) - {{ list_title }}{% endblock %} diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index 12613808..2d0a38db 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load package_extras %} {% block title %}Arch Linux - Package Signoffs{% endblock %} diff --git a/templates/packages/stale_relations.html b/templates/packages/stale_relations.html index 9ab06619..0976866f 100644 --- a/templates/packages/stale_relations.html +++ b/templates/packages/stale_relations.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - Stale Package Relations{% endblock %} {% block navbarclass %}anb-packages{% endblock %} diff --git a/templates/planet/index.html b/templates/planet/index.html index 2203fc13..20647e52 100644 --- a/templates/planet/index.html +++ b/templates/planet/index.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% load cache %} -{% load static from staticfiles %} +{% load static %} {% block head %} <link rel="alternate" type="application/rss+xml" title="Arch Linux Planet" href="{% url 'planet-feed' %}" /> diff --git a/templates/public/art.html b/templates/public/art.html index afab5498..8ef02b4f 100644 --- a/templates/public/art.html +++ b/templates/public/art.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - Artwork{% endblock %} diff --git a/templates/public/donate.html b/templates/public/donate.html index 24b4db31..d7f3a7da 100644 --- a/templates/public/donate.html +++ b/templates/public/donate.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% load cache %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - Donate{% endblock %} diff --git a/templates/public/download.html b/templates/public/download.html index 09eb1d44..944fe96d 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% load cache %} -{% load static from staticfiles %} +{% load static %} {% load flags %} {% block title %}Arch Linux - Downloads{% endblock %} diff --git a/templates/public/index.html b/templates/public/index.html index b539064c..41578ca2 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% load cache %} -{% load static from staticfiles %} +{% load static %} {% block head %} <link rel="alternate" type="application/rss+xml" title="Arch Linux News Updates" href="/feeds/news/" /> diff --git a/templates/public/keys.html b/templates/public/keys.html index 39fe6efb..a3df36e9 100644 --- a/templates/public/keys.html +++ b/templates/public/keys.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load pgp %} {% block title %}Arch Linux - Master Signing Keys{% endblock %} diff --git a/templates/public/userlist.html b/templates/public/userlist.html index 8ce55f9f..879c7df8 100644 --- a/templates/public/userlist.html +++ b/templates/public/userlist.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load cache %} {% block title %}Arch Linux - {{ group.name }}{% endblock %} diff --git a/templates/registration/login.html b/templates/registration/login.html index 81f2463b..beb313a6 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - Developer Login{% endblock %} diff --git a/templates/releng/netboot.html b/templates/releng/netboot.html index 36404588..2a007f7d 100644 --- a/templates/releng/netboot.html +++ b/templates/releng/netboot.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load staticfiles %} +{% load static %} {% block title %}Arch Linux - Netboot{% endblock %} diff --git a/templates/releng/release_list.html b/templates/releng/release_list.html index 80a443c8..f83a39cf 100644 --- a/templates/releng/release_list.html +++ b/templates/releng/release_list.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - Releases{% endblock %} diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 9f3cc635..7b5f5648 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - Todo Lists{% endblock %} diff --git a/templates/todolists/view.html b/templates/todolists/view.html index edaef972..4a3a0f05 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% load package_extras %} {% load todolists %} diff --git a/templates/visualize/index.html b/templates/visualize/index.html index 58d269dd..f69ab9f5 100644 --- a/templates/visualize/index.html +++ b/templates/visualize/index.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static from staticfiles %} +{% load static %} {% block title %}Arch Linux - Visualizations{% endblock %} |