From 0a2cf4223ace1b6c7c081055f441c0fa38a9ed09 Mon Sep 17 00:00:00 2001 From: Tobbi Date: Tue, 26 Jun 2012 17:07:25 +0200 Subject: [PATCH] [bug 768468] Add showfor support for fx15, m15, remove fx11 from dropdown, add fx 15 to dropdown --- apps/wiki/config.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/wiki/config.py b/apps/wiki/config.py index f722c60c0..8eea295dd 100644 --- a/apps/wiki/config.py +++ b/apps/wiki/config.py @@ -27,6 +27,8 @@ VersionMetadata = namedtuple('VersionMetadata', 'is_default') GROUPED_FIREFOX_VERSIONS = ( ((_lazy(u'Desktop:'), 'desktop'), ( + VersionMetadata(25, _lazy(u'Firefox 15'), + _lazy(u'Firefox 15'), 'fx15', 15.9999, True, False), VersionMetadata(23, _lazy(u'Firefox 14'), _lazy(u'Firefox 14'), 'fx14', 14.9999, True, False), VersionMetadata(21, _lazy(u'Firefox 13'), @@ -34,7 +36,7 @@ GROUPED_FIREFOX_VERSIONS = ( VersionMetadata(19, _lazy(u'Firefox 12'), _lazy(u'Firefox 12'), 'fx12', 12.9999, True, False), VersionMetadata(17, _lazy(u'Firefox 11'), - _lazy(u'Firefox 11'), 'fx11', 11.9999, True, False), + _lazy(u'Firefox 11'), 'fx11', 11.9999, False, False), VersionMetadata(15, _lazy(u'Firefox ESR'), _lazy(u'Firefox ESR'), 'fx10', 10.9999, True, False), VersionMetadata(13, _lazy(u'Firefox 9'), @@ -55,6 +57,9 @@ GROUPED_FIREFOX_VERSIONS = ( VersionMetadata(3, _lazy(u'Firefox 3.0'), _lazy(u'Firefox 3.0'), 'fx3', 3.4999, False, False))), ((_lazy(u'Mobile:'), 'mobile'), ( + VersionMetadata(24, _lazy(u'Firefox 15'), + _lazy(u'Firefox 15 for Mobile'), 'm15', 15.9999, + True, False), VersionMetadata(22, _lazy(u'Firefox 14'), _lazy(u'Firefox 14 for Mobile'), 'm14', 14.9999, True, True),