diff --git a/oscar/static/oscar/js/oscar/ui.js b/oscar/static/oscar/js/oscar/ui.js index 153b3066175..e32142e84d5 100644 --- a/oscar/static/oscar/js/oscar/ui.js +++ b/oscar/static/oscar/js/oscar/ui.js @@ -117,9 +117,14 @@ var oscar = (function(o, $) { var gallery = $(this).parent('.rg-thumbs').length; // Don't apply this to the gallery carousel if (gallery <= 0) { + var imageWidth = 175, + minProducts = 4; + if ($(this).hasClass('wide')) { + minProducts = 5; + } $(this).elastislide({ - imageW: 175, - minItems: 4, + imageW: imageWidth, + minItems: minProducts, onClick: function() {return true;} }); } diff --git a/oscar/templates/oscar/offer/detail.html b/oscar/templates/oscar/offer/detail.html index fb39f35d0e5..02027c37ef8 100644 --- a/oscar/templates/oscar/offer/detail.html +++ b/oscar/templates/oscar/offer/detail.html @@ -43,7 +43,7 @@
{% trans "There are no site offers at the moment." %}
{% else %} {% for offer in offers %} -{{ offer.description|safe }}
- {% endif %} - {% if offer.has_products %} -{{ offer.description|safe }}
+ {% endif %} + {% if offer.has_products %} ++ {% trans "Browse products in offer" %} +
+ {% endif %} +