Permalink
Browse files

rename template directory to match module name

  • Loading branch information...
1 parent 9213df6 commit 0202150e325cf91b33d6676b08fc8b52228031c0 Zenobius Jiricek committed Dec 27, 2011
@@ -12,7 +12,7 @@
from .lib.choices import DynamicChoice
-TEMPLATE_BASE_PATH = "cmsplugin_configurable_product"
+TEMPLATE_BASE_PATH = "cmsplugin_configurableproduct"
PRODUCT_TYPE_TEMPLATE_PATH = os.path.join(TEMPLATE_BASE_PATH, "product-types")
PRODUCT_LIST_TEMPLATE_PATH = os.path.join(TEMPLATE_BASE_PATH, "product-list")
@@ -1 +0,0 @@
-{% include Template %}
@@ -1,7 +0,0 @@
-{% for Product in Products %}
-<div id="product-{{ Product.id }}"
- data-product-type="{{ Product.type|slugify }}"
- class="product span6">
- {% include 'cmsplugin_configurable_product/snippets/product-display-only.html' %}
- </div>
-{% endfor %}
@@ -1,12 +0,0 @@
-{% for Type in Types %}
- <div class="product span8"
- id="product-{{ Type.id }}"
- data-product-type="{{ Type.name|slugify }}">
-
- <div class="header">
- <a href="{% url configurable_products_types Type.name|slugify %}">{{ Type }}</a>
- </div>
- <div class="description"></div>
-
- </div>
-{% endfor %}
@@ -1,42 +0,0 @@
-{% load cms_tags %}
-{% load sekizai_tags %}
-{% load i18n %}
-{% load shop_tags %}
-{% load thumbnail %}
-{% load humanize %}
-
-{% spaceless %}
- <div class="product product-active-{{ Product.active }}" data-product-slug="{{ Product.slug }}" data-product-active="{{Product.active}}">
-
- <div class="images">
- <div class="cover">
- <a href="{% url product_detail Product.slug %}">
- {% with Product.productimage_set.all.0 as product_image %}
- <img class="product-field-type-image product-field-{{ product_image.field.name|slugify }}"
- src="{% thumbnail product_image.value 240x128 crop='crop_and_scale' %}"/>
- {% endwith %}
- </a>
- </div>
- </div>
-
-
- <div class="detail">
- <div class="description">
-
- <div class="header">
- <div class="title">
- <h4>
- <a href="{% url product_detail Product.slug %}">
- {{ Product.name }}</a></h4>
- </div>
- </div>
-
- <div class="detail">
- </div>
-
- </div>
-
- </div>
-
- </div>
-{% endspaceless %}

0 comments on commit 0202150

Please sign in to comment.