From: Radek Czajka Date: Thu, 19 Mar 2015 15:32:05 +0000 (+0100) Subject: Upgrade pipeline, sorl.thumbnail. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/ea7deea0bd4f5ca47a8e6a27f6ab640c594fdf78?ds=inline;hp=63519710f7ae064e26d3ee068d59201e8bc02cf3 Upgrade pipeline, sorl.thumbnail. --- diff --git a/apps/catalogue/templates/catalogue/base.html b/apps/catalogue/templates/catalogue/base.html index 9a56d726..466abe9e 100644 --- a/apps/catalogue/templates/catalogue/base.html +++ b/apps/catalogue/templates/catalogue/base.html @@ -1,10 +1,10 @@ -{% load compressed i18n %} +{% load pipeline i18n %} {% load catalogue %} - {% compressed_css 'catalogue' %} + {% stylesheet 'catalogue' %} {% block title %}{% trans "Platforma Redakcyjna" %} :: {% block titleextra %}{% endblock %}{% endblock title %} {% block add_css %}{% endblock %} @@ -45,7 +45,7 @@ -{% compressed_js 'catalogue' %} +{% javascript 'catalogue' %} {% block add_js %}{% endblock %} {% block extrabody %} {% endblock %} diff --git a/apps/catalogue/templates/catalogue/book_html.html b/apps/catalogue/templates/catalogue/book_html.html index af4cfa79..518811ee 100755 --- a/apps/catalogue/templates/catalogue/book_html.html +++ b/apps/catalogue/templates/catalogue/book_html.html @@ -1,5 +1,4 @@ {% load i18n %} -{% load compressed %} diff --git a/apps/catalogue/templates/catalogue/book_text.html b/apps/catalogue/templates/catalogue/book_text.html index b9cc2f0c..2e484483 100644 --- a/apps/catalogue/templates/catalogue/book_text.html +++ b/apps/catalogue/templates/catalogue/book_text.html @@ -1,13 +1,13 @@ -{% load i18n compressed %} +{% load i18n pipeline %} {% trans "Redakcja" %} :: {{ book.title }} - {% compressed_css 'book' %} + {% stylesheet 'book' %} - {% compressed_js 'book' %} + {% javascript 'book' %}