You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
533 B
21 lines
533 B
9 years ago
|
{% extends "cashonly/base.html" %}
|
||
11 years ago
|
{% load static %}
|
||
11 years ago
|
{% load i18n %}
|
||
11 years ago
|
|
||
|
|
||
|
{% block content %}
|
||
|
|
||
11 years ago
|
<ul class="nav nav-tabs">
|
||
|
<li {% if not category %}class="active"{% endif %}><a href="{% url 'products' %}">{% trans "All categories" %}</a></li>
|
||
11 years ago
|
{% for c in categories %}
|
||
11 years ago
|
<li {% if c == category %}class="active"{% endif %}><a href="{% url 'products' %}{{c.id}}">{{ c.name }}</a></li>
|
||
11 years ago
|
{% endfor %}
|
||
|
</ul>
|
||
|
|
||
11 years ago
|
<!-- Ugly workaround -->
|
||
|
<br/>
|
||
11 years ago
|
|
||
9 years ago
|
{% include "cashonly/includes/product_list.html" with products=product_list only %}
|
||
11 years ago
|
|
||
|
{% endblock %}
|