mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Replace {% load static %} with {% load staticfiles %}
This commit is contained in:
parent
be82fa975d
commit
2444ee6e8d
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load wagtailadmin_tags i18n static gravatar %}
|
||||
{% load wagtailadmin_tags i18n staticfiles gravatar %}
|
||||
|
||||
{% block extra_css %}
|
||||
{{ block.super }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/admin_base.html" %}
|
||||
{% load static i18n %}
|
||||
{% load staticfiles i18n %}
|
||||
{% block titletag %}{% trans "Reset password" %}{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/admin_base.html" %}
|
||||
{% load static i18n %}
|
||||
{% load staticfiles i18n %}
|
||||
{% block titletag %}{% trans "Set your new password" %}{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/admin_base.html" %}
|
||||
{% load static i18n %}
|
||||
{% load staticfiles i18n %}
|
||||
{% block titletag %}{% trans "Reset password" %}{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/admin_base.html" %}
|
||||
{% load static i18n %}
|
||||
{% load staticfiles i18n %}
|
||||
{% block titletag %}{% trans "Reset password" %}{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/skeleton.html" %}
|
||||
{% load static wagtailadmin_tags %}
|
||||
{% load staticfiles wagtailadmin_tags %}
|
||||
|
||||
{% block css %}
|
||||
<link rel="stylesheet" href="{% static 'wagtailadmin/css/vendor/jquery-ui/jquery-ui-1.10.3.verdant.css' %}" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/admin_base.html" %}
|
||||
{% load wagtailadmin_tags wagtailcore_tags static i18n %}
|
||||
{% load wagtailadmin_tags wagtailcore_tags staticfiles i18n %}
|
||||
|
||||
{% block furniture %}
|
||||
<div class="nav-wrapper">
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load gravatar static i18n %}
|
||||
{% load gravatar staticfiles i18n %}
|
||||
{% block titletag %}{% trans "Dashboard" %}{% endblock %}
|
||||
{% block bodyclass %}homepage{% endblock %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% load wagtailcore_tags static %}
|
||||
{% load wagtailcore_tags staticfiles %}
|
||||
|
||||
<div class="panel nice-padding panel-upgrade-notification" style="display:none">
|
||||
<div class="help-block help-warning">Wagtail upgrade available. Your version: <strong>{% wagtail_version %}</strong>. New version: <strong class="newversion"></strong>. <a class="releasenotes-link" href="">Read the release notes.</a></div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/admin_base.html" %}
|
||||
{% load static i18n %}
|
||||
{% load staticfiles i18n %}
|
||||
{% block titletag %}{% trans "Sign in" %}{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% load wagtailadmin_tags static %}
|
||||
{% load wagtailadmin_tags staticfiles %}
|
||||
|
||||
{% comment %}
|
||||
CSS declarations to be included on the 'create page' and 'edit page' views
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% load wagtailadmin_tags static %}
|
||||
{% load wagtailadmin_tags staticfiles %}
|
||||
|
||||
{% comment %}
|
||||
Javascript declarations to be included on the 'create page' and 'edit page' views
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load wagtailadmin_tags static i18n %}
|
||||
{% load wagtailadmin_tags staticfiles i18n %}
|
||||
{% block titletag %}{% blocktrans with title=parent_page.title %}Exploring {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}page-explorer {% if ordering == 'ord' %}reordering{% endif %}{% endblock %}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE HTML>
|
||||
{% load static i18n %}
|
||||
{% load staticfiles i18n %}
|
||||
<html>
|
||||
<head>
|
||||
<title>{% trans "Preview" %}</title>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
{% load static i18n %}
|
||||
{% load staticfiles i18n %}
|
||||
<html class="no-js" lang="{{ LANGUAGE_CODE|default:"en-gb" }}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/skeleton.html" %}
|
||||
{% load static i18n %}
|
||||
{% load staticfiles i18n %}
|
||||
|
||||
{% block titletag %}{% trans 'User bar' %}{% endblock %}
|
||||
{% block css %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% load static %}
|
||||
{% load staticfiles %}
|
||||
<!-- Wagtail user bar embed code -->
|
||||
<script type="text/javascript">
|
||||
var wagtail = wagtail || {};
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load wagtailimages_tags static i18n %}
|
||||
{% load wagtailimages_tags staticfiles i18n %}
|
||||
{% block titletag %}{% blocktrans with title=image.title %}Editing image {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block extra_css %}
|
||||
{{ block.super }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load wagtailimages_tags static i18n %}
|
||||
{% load wagtailimages_tags staticfiles i18n %}
|
||||
|
||||
{% block titletag %}{% blocktrans with title=image.title %}Editing image {{ title }}{% endblocktrans %}{% endblock %}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load wagtailimages_tags i18n static %}
|
||||
{% load wagtailimages_tags i18n staticfiles %}
|
||||
{% block titletag %}{% trans "Add multiple images" %}{% endblock %}
|
||||
{% block extra_css %}
|
||||
{{ block.super }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load wagtailusers_tags wagtailimages_tags static i18n %}
|
||||
{% load wagtailusers_tags wagtailimages_tags staticfiles i18n %}
|
||||
|
||||
{% block titletag %}{% trans "Add group" %}{% endblock %}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load wagtailusers_tags static i18n %}
|
||||
{% load wagtailusers_tags staticfiles i18n %}
|
||||
|
||||
{% block titletag %}{% trans "Editing" %} {{ group.name }}{% endblock %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% load static %}
|
||||
{% load staticfiles %}
|
||||
<script>
|
||||
window.chooserUrls = {
|
||||
'pageChooser': '{% url "wagtailadmin_choose_page" %}'
|
||||
|
Loading…
Reference in New Issue
Block a user