Commits

Andres Vargas committed bdf089e

remove defaults

Comments (0)

Files changed (3)

templates/lfs/catalog/categories/category/default.html

-{%extends "lfs/catalog/category_base" %}
-{% load i18n %}
-<div class="grid_7">
-<h1 class="first-heading">
-    {{ category.name }}
-</h1>
-
-<div id="categories">
-    <table class="lfs-default">
-        {% for row in categories %}
-            <tr>
-                {% for category in row %}                
-                    <td class="category-row">
-                        <h2 class="first-heading">{{ category.name }}</h2>
-                        <div class="category-image">
-                            <a href="{% url lfs_category category.slug %}">
-                                {% if category.image %}
-                                    <img src="{{category.image.url_100x100}}"
-                                         alt="{{category.name}}" />
-                                {% endif %}
-                            </a>
-                        </div>
-                        <div class="category-description">
-                            {{ category.short_description|safe }}
-                        </div>
-
-                        <div class="clear details-button">
-                            <a class="button emphasized"
-                               href="{% url lfs_category category.slug %}">{% trans 'Details' %}
-                            </a>
-                        </div>
-
-                        <hr>
-                    </td>
-                {% endfor %}
-            </tr>
-        {% endfor %}
-    </table>    
-</div>
-</div>

templates/lfs/catalog/categories/product/default.html

-{% load i18n lfs_tags %}
-
-<div class="products-navigation">
-    {% if show_pages %}
-        {% if previous_url %}
-            <a href="{{ previous_url }}">&lt;&lt; {% trans 'Previous page' %}</a>
-        {% else %}
-            &lt;&lt; {% trans 'Previous page' %}
-        {% endif %}
-
-        {% if pages %}
-            -
-        {% endif %}
-
-        {% for page in pages %}
-            <a class="{% if page.selected%}current{% endif %}"
-               href="{% url lfs_category category.slug %}?start={{ page.start }}">
-                {{ page.name }}
-            </a>
-        {% endfor %}
-
-        ({{ amount_of_products }} {% trans 'Products' %})
-
-        {% if pages %}
-            -
-        {% endif %}
-
-        {% if next_url %}
-            <a href="{{ next_url }}">{% trans 'Next page' %} &gt;&gt;</a>
-        {% else %}
-            {% trans 'Next page' %} &gt;&gt;
-        {% endif %}
-    {% endif %}
-</div>
-
-{% sorting %}
-
-<h1>
-    {{ category.name }}
-</h1>
-<div id="products">
-    <table class="lfs-default">
-        {% for col in products %}
-        <tr class="product-row">
-            {% for product in col %}
-                <td class="product-data"
-                    onclick="window.location='{% url lfs.catalog.views.product_view product.slug %}'">
-                    <div class="product-image">
-                        <a href="{% url lfs.catalog.views.product_view product.slug %}">
-                            <img alt="{{ product.name }}"
-                                 src="{{ product.image.url_100x100 }}" />
-                        </a>
-                    </div>
-                    <div>
-                        <div class="product-title">{{ product.name }}</div>
-                        <div class="product-description">{{ product.obj.short_description|safe }}</div>
-                    </div>
-
-                    <div class="product-price">
-                        {% if product.get_for_sale %}
-                           <span class="for-sale-standard-price">{{ product.standard_price|currency }}</span>
-                           <span class="for-sale-price">{{ product.for_sale_price|currency }}*</span>
-                        {% else %}
-                            <span class="standard-price">{{ product.price|currency }}*</span>
-                        {% endif %}
-                        <div class="price-disclaimer">
-                            {% trans '*inc. VAT' %}
-                        </div>
-                    </div>
-                    <div class="details-button">
-                        <a class="button emphasized"
-                           href="{% url lfs_product product.slug %}">{% trans 'Details' %}
-                        </a>
-                    </div>
-                </td>
-            {% endfor %}
-        </tr>
-        {% endfor %}
-    </table>
-</div>

templates/lfs/catalog/category_base.html

-{% extends "lfs/base.html" %}
-{% load i18n %}
-{% load lfs_tags %}
-{% load lfs_theme_tags %}
-{% load lfs_portlets_tags %}
-
-{%block wrapper %}
-{% block left-slot-wrapper %}
-{% slots_information%}
-    {% if SlotLeft %}
-        <div class="span-5">
-            <div class="left-slot">
-                {% block left-slot %}
-                    {% lfs_portlet_slot 'Left' %}
-                {% endblock %}
-            </div>
-        </div>
-    {% endif %}
-{% endblock %}
- 
-
-    {% block content %}
-    {% endblock %}
-    <div class="clear"></div>
-{% endblock %}