Przeglądaj źródła

Use {% load sorl_thumbnail %} to avoid conflicts with easy-thumbnails.

master
Sergey Fedoseev 7 lat temu
rodzic
commit
115fa855fa

+ 1
- 1
src/oscar/templates/oscar/basket/basket.html Wyświetl plik

@@ -1,5 +1,5 @@
1 1
 {% extends "layout.html" %}
2
-{% load thumbnail %}
2
+{% load sorl_thumbnail %}
3 3
 {% load i18n %}
4 4
 
5 5
 {% block title %}

+ 1
- 1
src/oscar/templates/oscar/basket/partials/basket_content.html Wyświetl plik

@@ -1,5 +1,5 @@
1 1
 {% load i18n %}
2
-{% load thumbnail %}
2
+{% load sorl_thumbnail %}
3 3
 {% load currency_filters %}
4 4
 {% load purchase_info_tags %}
5 5
 {% load widget_tweaks %}

+ 1
- 1
src/oscar/templates/oscar/basket/partials/basket_quick.html Wyświetl plik

@@ -1,7 +1,7 @@
1 1
 {% load history_tags %}
2 2
 {% load basket_tags %}
3 3
 {% load currency_filters %}
4
-{% load thumbnail %}
4
+{% load sorl_thumbnail %}
5 5
 {% load i18n %}
6 6
 {% load staticfiles %}
7 7
 

+ 1
- 1
src/oscar/templates/oscar/catalogue/partials/gallery.html Wyświetl plik

@@ -1,4 +1,4 @@
1
-{% load thumbnail %}
1
+{% load sorl_thumbnail %}
2 2
 {% load i18n %}
3 3
 {% load staticfiles %}
4 4
 

+ 1
- 1
src/oscar/templates/oscar/catalogue/partials/product.html Wyświetl plik

@@ -1,5 +1,5 @@
1 1
 {% load reviews_tags %}
2
-{% load thumbnail %}
2
+{% load sorl_thumbnail %}
3 3
 {% load i18n %}
4 4
 {% load display_tags %}
5 5
 {% load staticfiles %}

+ 1
- 1
src/oscar/templates/oscar/catalogue/reviews/review_product.html Wyświetl plik

@@ -1,4 +1,4 @@
1
-{% load thumbnail %}
1
+{% load sorl_thumbnail %}
2 2
 {% load staticfiles %}
3 3
 
4 4
 <div class="row">

+ 1
- 1
src/oscar/templates/oscar/checkout/checkout.html Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 {% extends "checkout/layout.html" %}
2 2
 {% load currency_filters %}
3
-{% load thumbnail %}
3
+{% load sorl_thumbnail %}
4 4
 {% load i18n %}
5 5
 {% load purchase_info_tags %}
6 6
 {% load staticfiles %}

+ 1
- 1
src/oscar/templates/oscar/checkout/thank_you.html Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 {% extends "checkout/layout.html" %}
2 2
 {% load currency_filters %}
3
-{% load thumbnail %}
3
+{% load sorl_thumbnail %}
4 4
 {% load i18n %}
5 5
 {% load staticfiles %}
6 6
 

+ 1
- 1
src/oscar/templates/oscar/customer/wishlists/wishlists_detail.html Wyświetl plik

@@ -1,5 +1,5 @@
1 1
 {% extends "customer/baseaccountpage.html" %}
2
-{% load thumbnail %}
2
+{% load sorl_thumbnail %}
3 3
 {% load i18n %}
4 4
 {% load widget_tweaks %}
5 5
 

+ 1
- 1
src/oscar/templates/oscar/dashboard/catalogue/product_list.html Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 {% extends 'dashboard/layout.html' %}
2 2
 {% load i18n %}
3
-{% load thumbnail %}
3
+{% load sorl_thumbnail %}
4 4
 {% load staticfiles %}
5 5
 {% load sorting_tags %}
6 6
 {% load render_table from django_tables2 %}

+ 1
- 1
src/oscar/templates/oscar/dashboard/catalogue/product_row_image.html Wyświetl plik

@@ -1,4 +1,4 @@
1
-{% load thumbnail %}
1
+{% load sorl_thumbnail %}
2 2
 {% if record.primary_image.original.url %}
3 3
     {% with image=record.primary_image %}
4 4
         {% thumbnail image.original "70x70" upscale=False as thumb %}

+ 1
- 1
src/oscar/templates/oscar/dashboard/catalogue/product_update.html Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 {% extends 'dashboard/layout.html' %}
2 2
 {% load i18n %}
3
-{% load thumbnail %}
3
+{% load sorl_thumbnail %}
4 4
 {% load staticfiles %}
5 5
 {% load form_tags %}
6 6
 

+ 1
- 1
src/oscar/templates/oscar/forms/widgets/image_input_widget.html Wyświetl plik

@@ -1,5 +1,5 @@
1 1
 {% load i18n %}
2
-{% load thumbnail %}
2
+{% load sorl_thumbnail %}
3 3
 
4 4
 <div id="{{ image_id }}" class="image-input">
5 5
     {% if image_url %}

+ 1
- 1
src/oscar/templates/oscar/promotions/singleproduct.html Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 {% load currency_filters %}
2 2
 {% load basket_tags %}
3
-{% load thumbnail %}
3
+{% load sorl_thumbnail %}
4 4
 {% load i18n %}
5 5
 {% load staticfiles %}
6 6
 

+ 1
- 1
src/oscar/templates/oscar/search/results.html Wyświetl plik

@@ -1,7 +1,7 @@
1 1
 {% extends "layout_2_col.html" %}
2 2
 
3 3
 {% load currency_filters %}
4
-{% load thumbnail %}
4
+{% load sorl_thumbnail %}
5 5
 {% load product_tags %}
6 6
 {% load i18n %}
7 7
 

Ładowanie…
Anuluj
Zapisz