add alert message to 'sale' page

stepan-k
Stepan Krapivin 8 years ago
parent a66025f84f
commit 77481dc36e
  1. 7
      batiskaf/templates/jinja2/category.jinja

@ -65,6 +65,11 @@
</div>
</div>
<div class="col-xs-9 col-sm-9 col-md-9 col-lg-9 index-goods category-items">
{% if 'sale' in request.path %}
<div class="alert alert-danger">
<span style="color: white">Уважаемые клиенты, на данный раздел индивидуальная скидка не распространяется!</span>
</div>
{% endif %}
{% if category.hide_products %}
{% for child in category.childs.order_by('priority') %}
{% include 'includes/category_category_thumb.jinja' with context %}
@ -190,7 +195,7 @@
{% endif %}
{% if category.meta_text %}
<div class="panel"
style="padding: 15px 20px; text-align: justify;">{{ category.meta_text|safe }}</div>{% endif %}
style="padding: 15px 20px; text-align: justify;">{{ category.meta_text|safe }}</div>{% endif %}
</div>
</div>
{% endblock %}

Loading…
Cancel
Save