Replace {% load static %} with {% load staticfiles %}

pull/2192/head
Karl Hobley 2016-02-03 15:24:04 +00:00
rodzic be82fa975d
commit 2444ee6e8d
23 zmienionych plików z 23 dodań i 23 usunięć

Wyświetl plik

@ -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 }}

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -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' %}" />

Wyświetl plik

@ -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">

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -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>

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -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

Wyświetl plik

@ -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

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -1,5 +1,5 @@
<!DOCTYPE HTML>
{% load static i18n %}
{% load staticfiles i18n %}
<html>
<head>
<title>{% trans "Preview" %}</title>

Wyświetl plik

@ -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" />

Wyświetl plik

@ -1,5 +1,5 @@
{% extends "wagtailadmin/skeleton.html" %}
{% load static i18n %}
{% load staticfiles i18n %}
{% block titletag %}{% trans 'User bar' %}{% endblock %}
{% block css %}

Wyświetl plik

@ -1,4 +1,4 @@
{% load static %}
{% load staticfiles %}
<!-- Wagtail user bar embed code -->
<script type="text/javascript">
var wagtail = wagtail || {};

Wyświetl plik

@ -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 }}

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -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 }}

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -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 %}

Wyświetl plik

@ -1,4 +1,4 @@
{% load static %}
{% load staticfiles %}
<script>
window.chooserUrls = {
'pageChooser': '{% url "wagtailadmin_choose_page" %}'