Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
point the popular list at ?sort=users
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Balogh committed Jul 7, 2011
1 parent dccef61 commit 33d260e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/addons/templates/addons/impala/home.html
Expand Up @@ -8,13 +8,11 @@
{% set view_all = {
'featured': {
'text': _('Featured Extensions'),
'link': url('browse.featured'),
'feed': url('browse.featured.rss'),
},
'popular': {
'text': _('Popular Extensions'),
'link': ext|urlparams(sort='popular'),
'feed': extrss|urlparams(sort='popular'),
'feed': extrss|urlparams(sort='users'),
}
}
%}
Expand All @@ -40,7 +38,7 @@
{% cache popular %}
<section class="secondary">
<h2>{{ _('Most Popular') }}
<a class="seeall" href="{{ url('browse.extensions')|urlparams(sort='popular') }}">{{ _('All »') }}</a>
<a class="seeall" href="{{ url('browse.extensions')|urlparams(sort='users') }}">{{ _('All »') }}</a>
</h2>
{{ popular|addon_toplist(src='hp-dl-mostpopular') }}
</section>
Expand Down

0 comments on commit 33d260e

Please sign in to comment.