From 0ba195f2efdacb674c8ff7affbea353abbe2a936 Mon Sep 17 00:00:00 2001 From: michal Date: Fri, 6 Oct 2017 14:22:50 +0200 Subject: Further refactoring of sort_by and sort_menu Combine sort_by and sort_menu to one template and templatetag. Move templatetags to shop.py. Delete sort_menu.py and _sort_menu.html. Update index.html with new templatetags. --- templates/category/_sort_by.html | 66 +++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 21 deletions(-) (limited to 'templates/category/_sort_by.html') diff --git a/templates/category/_sort_by.html b/templates/category/_sort_by.html index e0e4cf88..4f2f9a8c 100644 --- a/templates/category/_sort_by.html +++ b/templates/category/_sort_by.html @@ -1,27 +1,51 @@ +{% load staticfiles %} {% load i18n %} {% load shop %} -{% load staticfiles %} -
  • -
  • + + + {% endfor %} + + -- cgit v1.2.3