diff --git a/apps/browse/templates/browse/impala/base_listing.html b/apps/browse/templates/browse/impala/base_listing.html index d56bb8517c..6d69f9d497 100644 --- a/apps/browse/templates/browse/impala/base_listing.html +++ b/apps/browse/templates/browse/impala/base_listing.html @@ -4,7 +4,7 @@ {{ page_title(category.name if category else _('Extensions')) }} {% endblock %} -{% block bodyclass %}s-{{ sorting }}{% endblock %} +{% block bodyclass %}listing s-{{ sorting }}{% endblock %} {% if category %} {% block extrahead %} diff --git a/media/css/impala/listing.less b/media/css/impala/listing.less index c2da8ced1b..f0cdc7ede9 100644 --- a/media/css/impala/listing.less +++ b/media/css/impala/listing.less @@ -47,7 +47,7 @@ header .feed { } } -.item { +.listing .item { border-top: 1px dotted @border-blue; color: @note-gray; display: table; @@ -146,7 +146,7 @@ header .feed { } } -.html-rtl .item { +.html-rtl .listing .item { .collector-note, .performance-note { float: right; diff --git a/media/js/impala/addon_details.js b/media/js/impala/addon_details.js index 7e5745f9d5..fdcb727a1f 100644 --- a/media/js/impala/addon_details.js +++ b/media/js/impala/addon_details.js @@ -1,16 +1,17 @@ $(function () { - $('.performance-note .popup').each(function(i,p) { - var $p = $(this), - $a = $p.siblings('a').first(); - $p.popup($a, {width: 300, pointTo: $a}); - }); - - $('.item.addon').each(function(i,p){ - var $this = $(this); - if ($this.find('.concealed').length) { - $this.addClass('incompatible'); - } - }); + if ($('body').hasClass('listing')) { + $('.performance-note .popup').each(function(i,p) { + var $p = $(this), + $a = $p.siblings('a').first(); + $p.popup($a, {width: 300, pointTo: $a}); + }); + $('.item.addon').each(function(i,p){ + var $this = $(this); + if ($this.find('.concealed').length) { + $this.addClass('incompatible'); + } + }); + } if (!$("body").hasClass('addon-details')) return; $(".previews").zCarousel({