From 619ed5e9491c9a33720b9f1f4dc0deec4da6eac5 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 17 Sep 2013 13:46:50 +0530 Subject: [PATCH] [fix] [minor] [website] --- portal/utils.py | 3 ++- .../item_group/templates/generators/item_group.html | 6 +++--- stock/doctype/item/templates/generators/item.html | 2 +- stock/doctype/item/templates/includes/product_page.js | 2 +- stock/doctype/item/templates/pages/__init__.py | 0 utilities/demo/demo_control_panel.py | 8 ++++---- 6 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 stock/doctype/item/templates/pages/__init__.py diff --git a/portal/utils.py b/portal/utils.py index 8f42d9b5ff..f72c01ff17 100644 --- a/portal/utils.py +++ b/portal/utils.py @@ -68,4 +68,5 @@ def send_message(subject="Website Query", message="", sender="", status="Open"): # make lead / communication from selling.doctype.lead.get_leads import add_sales_communication add_sales_communication(subject or "Website Query", message, sender, sender, - mail=None, status=status) \ No newline at end of file + mail=None, status=status) + \ No newline at end of file diff --git a/setup/doctype/item_group/templates/generators/item_group.html b/setup/doctype/item_group/templates/generators/item_group.html index 22570d10c8..48db596f84 100644 --- a/setup/doctype/item_group/templates/generators/item_group.html +++ b/setup/doctype/item_group/templates/generators/item_group.html @@ -5,7 +5,7 @@ {% include 'app/stock/doctype/item/templates/includes/product_breadcrumbs.html' %}
{% if slideshow %} - {% include "lib/website/templates/includes/slideshow.html" %} + {% include "lib/website/doctype/website_slideshow/templates/includes/slideshow.html" %} {% endif %} {% if description %}
{{ description or ""}}
@@ -32,10 +32,10 @@ {% endfor %}
{% if (items|length)==100 %} -
Showing top 100 items.
+
Showing top 100 items.
{% endif %} {% else %} -
No items listed.
+
No items listed.
{% endif %} diff --git a/stock/doctype/item/templates/generators/item.html b/stock/doctype/item/templates/generators/item.html index d85547994e..7056068e9b 100644 --- a/stock/doctype/item/templates/generators/item.html +++ b/stock/doctype/item/templates/generators/item.html @@ -19,7 +19,7 @@
{% if slideshow %} - {% include "lib/website/templates/includes/html/slideshow.html" %} + {% include "lib/website/doctype/website_slideshow/templates/includes/slideshow.html" %} {% else %} {% if website_image %}