Make Featured complete themes more prominent in nav/sort (bug 869701)
This commit is contained in:
Родитель
f53928dd53
Коммит
b54a25806b
|
@ -3,6 +3,7 @@
|
|||
('users', _('Most Popular')),
|
||||
('rating', _('Top Rated')),
|
||||
('created', _('Newest')),
|
||||
('featured', _('Featured')),
|
||||
) %}
|
||||
{% elif addon_type == amo.ADDON_WEBAPP %}
|
||||
{% set extras = (
|
||||
|
|
|
@ -364,7 +364,7 @@ class TestThemes(amo.tests.TestCase):
|
|||
|
||||
def test_featured_sort(self):
|
||||
test_listing_sort(self, 'featured', reverse=False,
|
||||
sel_class='extra-opt')
|
||||
sel_class='opt')
|
||||
|
||||
def test_downloads_sort(self):
|
||||
test_listing_sort(self, 'popular', 'weekly_downloads',
|
||||
|
|
|
@ -64,9 +64,9 @@ class AddonFilter(BaseFilter):
|
|||
class ThemeFilter(AddonFilter):
|
||||
opts = (('users', _lazy(u'Most Users')),
|
||||
('rating', _lazy(u'Top Rated')),
|
||||
('created', _lazy(u'Newest')))
|
||||
('created', _lazy(u'Newest')),
|
||||
('featured', _lazy(u'Featured')))
|
||||
extras = (('name', _lazy(u'Name')),
|
||||
('featured', _lazy(u'Featured')),
|
||||
('popular', _lazy(u'Weekly Downloads')),
|
||||
('updated', _lazy(u'Recently Updated')),
|
||||
('hotness', _lazy(u'Up & Coming')))
|
||||
|
|
Загрузка…
Ссылка в новой задаче