From cb6cf710bb38c47447f22792867a1c06593ac402 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 14 Mar 2013 16:45:28 +0530 Subject: [PATCH] website module: product page update --- website/templates/html/product_page.html | 41 +++++++++++------------- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/website/templates/html/product_page.html b/website/templates/html/product_page.html index 1680c7dec5..0a19efe506 100644 --- a/website/templates/html/product_page.html +++ b/website/templates/html/product_page.html @@ -11,34 +11,31 @@ {% block content %} {% include 'html/product_search_box.html' %} {% include 'html/product_breadcrumbs.html' %} -
-

{{ item_name }}

-

Item Code: {{ name }}

-
- {% if slideshow %} - {% include "html/slideshow.html" %} - {% else %} - {% if website_image %} - - {% else %} -
- {% include 'html/product_missing_image.html' %} -
- {% endif %} - {% endif %} -

-
-

Product Description

+
+ {% if slideshow %} + {% include "html/slideshow.html" %} + {% else %} + {% if website_image %} + + {% else %} +
+ {% include 'html/product_missing_image.html' %} +
+ {% endif %} + {% endif %} +
+
+

{{ item_name }}

+

Item Code: {{ name }}

+

Product Description

{{ web_long_description or web_short_description or "[No description given]" }}
{% if obj.doclist.get({"doctype":"Item Website Specification"}) %} -
-

Specifications

+

Specifications

{% for d in obj.doclist.get( {"doctype":"Item Website Specification"}) %} @@ -49,8 +46,6 @@ {% endfor %}
{% endif %} -
-

Price: