{% extends "impala/base_shared.html" %} {% block title %}{{ _('Add-ons for {0}')|f(request.APP.pretty) }}{% endblock %} {% block bodyclass %}home{% endblock %} {% set ext, extrss = url('browse.extensions'), url('browse.extensions.rss') %} {% set view_all = { 'featured': { 'text': _('Featured Extensions'), 'feed': url('browse.featured.rss'), }, 'popular': { 'text': _('Popular Extensions'), 'feed': extrss|urlparams(sort='users'), } } %} {% block content %} {# IT looks for this comment with nagios, don't remove it. #} {{ side_nav(amo.ADDON_EXTENSION) }} {% if request.APP == amo.FIREFOX %} {% endif %} {# Cache everything in one block since changes in each block are rare. #} {% cache popular %} {{ _('Most Popular') }} {{ _('All »') }} {{ popular|addon_toplist(src='hp-dl-mostpopular') }} {% if featured %} {{ _('Featured Extensions') }} {{ _('See all »') }} {{ featured|addon_grid(src='hp-hc-featured', dl_src='hp-dl-featured') }} {% endif %} {% if hotness %} {{ _('Up & Coming Extensions') }} {{ _('See all »') }} {{ hotness|addon_grid(src='hp-hc-upandcoming', dl_src='hp-dl-upandcoming') }} {% endif %} {% if personas %} {{ _('Featured Personas') }} {{ _('See all »') }} {{ personas|impala_persona_grid }} {% endif %} {% if collections %} {{ _('Featured Collections') }} {{ _('See all »') }} {{ collections|collection_grid }} {% endif %} {% endcache %} {% endblock content %} {% block extrahead %} {% for feed in view_all.itervalues() %} {% endfor %} {% endblock %}