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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {% extends "layout.html" %}
  2. {% load i18n %}
  3. {% block title %}
  4. {{ offer.name }} | {{ block.super }}
  5. {% endblock %}
  6. {% block breadcrumbs %}
  7. <ul class="breadcrumb">
  8. <li>
  9. <a href="{% url promotions:home %}">{% trans "Home" %}</a>
  10. <span class="divider">/</span>
  11. </li>
  12. <li>
  13. <a href="#">{% trans "Offers" %}</a>
  14. <span class="divider">/</span>
  15. </li>
  16. <li class="active">{{ offer.name }}</li>
  17. </ul>
  18. {% endblock %}
  19. {% block header %}
  20. <div class="page-header action">
  21. <h1>{{ offer.name }}</h1>
  22. </div>
  23. {% endblock header %}
  24. {% block content %}
  25. {% if not offer.is_active %}
  26. <div class="alert alert-error">{% trans " This offer has expired " %}</div>
  27. {% endif %}
  28. {% if offer.description %}
  29. <div class="well">
  30. {{ offer.description|safe }}
  31. </div>
  32. {% endif %}
  33. {% if upsell_message %}
  34. <div class="well">
  35. <h3>{% trans "What you need to do" %}</h3>
  36. <p>{{ upsell_message }}</p>
  37. </div>
  38. {% endif %}
  39. {% if products.count %}
  40. <section>
  41. <div class="mod">
  42. {% include "partials/pagination.html" %}
  43. <ol class="products four">
  44. {% for product in products %}
  45. <li>{% include "catalogue/partials/product.html" %}</li>
  46. {% endfor %}
  47. </ol>
  48. {% include "partials/pagination.html" %}
  49. </div>
  50. </section>
  51. {% else %}
  52. <p class="nonefound">{% trans "No products found." %}</p>
  53. {% endif %}
  54. {% endblock content %}