From ea7deea0bd4f5ca47a8e6a27f6ab640c594fdf78 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 19 Mar 2015 16:32:05 +0100 Subject: [PATCH] Upgrade pipeline, sorl.thumbnail. --- apps/catalogue/templates/catalogue/base.html | 6 +++--- apps/catalogue/templates/catalogue/book_html.html | 1 - apps/catalogue/templates/catalogue/book_text.html | 6 +++--- apps/catalogue/templates/catalogue/document_list.html | 6 +++--- apps/catalogue/templates/catalogue/image_list.html | 6 +++--- apps/catalogue/templates/catalogue/my_page.html | 6 +++--- apps/wiki/templates/wiki/document_details_base.html | 6 +++--- apps/wiki_img/templates/wiki_img/document_details_base.html | 6 +++--- redakcja/settings/compress.py | 1 + requirements.txt | 4 ++-- 10 files changed, 24 insertions(+), 24 deletions(-) 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' %}