replace use of STATIC_URL by staticfiles directives (fixes #14844)
This commit is contained in:
parent
b9da59b418
commit
ff0e166f6c
|
@ -1,19 +1,19 @@
|
|||
{% load i18n gadjo %}<!DOCTYPE html>
|
||||
{% load i18n gadjo staticfiles %}<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>{% block page-title %}{% endblock %}</title>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/gadjo.css"/>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="{% static "css/gadjo.css" %}"/>
|
||||
{% block gadjo-js %}
|
||||
<link rel="stylesheet" type="text/css" media="all"
|
||||
href="{% xstatic 'jquery-ui' 'themes/smoothness/jquery-ui.min.css' %}"/>
|
||||
<script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>
|
||||
<script src="{% xstatic 'jquery-ui' 'jquery-ui.min.js' %}"></script>
|
||||
<script src="{{ STATIC_URL }}js/gadjo.js"></script>
|
||||
<script src="{% static "js/gadjo.js" %}"></script>
|
||||
{% endblock %}
|
||||
{{ media }}
|
||||
{% block css %}
|
||||
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css"/>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="{% static "css/style.css" %}"/>
|
||||
{% endblock %}
|
||||
{% block extrascripts %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue