Skip to content

Commit

Permalink
[fix bug 1419244] Remove old one-off mobile download pages
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson authored and jpetto committed Feb 15, 2018
1 parent f655f20 commit ef8f540
Show file tree
Hide file tree
Showing 28 changed files with 10 additions and 1,100 deletions.
Expand Up @@ -47,7 +47,7 @@ <h1>{{ _('Make Firefox your default browser') }}</h1>
<article>
<h1>{{ _('Get Firefox on your phone') }}</h1>
<div class="time">{{ _('2 min install') }}</div>
<a data-link-type="link" data-link-name="Download Firefox" href="{{ url('firefox.mobile-download-desktop') }}">{{ _('Download Firefox') }}</a>
<a data-link-type="link" data-link-name="Download Firefox" href="{{ url('firefox.mobile') }}">{{ _('Download Firefox') }}</a>
</article>
<article>
<h1>{{ _('Tell your friends about Firefox') }}</h1>
Expand Down
Expand Up @@ -63,7 +63,7 @@ <h1>
<span class="time">{{ _('2 min') }}</span>
<h1>
{{ _('Get Firefox on your phone') }}
<a data-link-type="link" data-link-name="Download Firefox" href="{{ url('firefox.mobile-download-desktop') }}">{{ _('Download Firefox') }}</a>
<a data-link-type="link" data-link-name="Download Firefox" href="{{ url('firefox.mobile') }}">{{ _('Download Firefox') }}</a>
</h1>
</article>
<article>
Expand Down
5 changes: 4 additions & 1 deletion bedrock/firefox/redirects.py
Expand Up @@ -496,7 +496,7 @@ def firefox_channel(*args, **kwargs):

# bug 1288552 - redirect /secondrun/ traffic from funnelcake test
redirect(r'^firefox(?:\/\d+\.\d+(?:\.\d+)?(?:a\d+)?)?/secondrun(?:/.*)?',
'firefox.mobile-download', query=False),
'firefox.mobile', query=False),

# bug 1293539
redirect(r'^firefox(?:\/\d+\.\d+(?:\.\d+)?(?:a\d+)?)?/tour/?$',
Expand Down Expand Up @@ -575,4 +575,7 @@ def firefox_channel(*args, **kwargs):

# bug 1430894
redirect(r'^firefox/interest-dashboard/?', 'https://support.mozilla.org/kb/firefox-add-technology-modernizing'),

# bug 1419244
redirect(r'^firefox/mobile-download(/.*)?', 'firefox.mobile'),
)
116 changes: 0 additions & 116 deletions bedrock/firefox/templates/firefox/includes/horizon.html

This file was deleted.

109 changes: 0 additions & 109 deletions bedrock/firefox/templates/firefox/mobile-download-desktop.html

This file was deleted.

69 changes: 0 additions & 69 deletions bedrock/firefox/templates/firefox/mobile-download.html

This file was deleted.

2 changes: 0 additions & 2 deletions bedrock/firefox/urls.py
Expand Up @@ -58,8 +58,6 @@
page('firefox/geolocation', 'firefox/geolocation.html'),
url(r'^firefox/ios/testflight', views.ios_testflight, name='firefox.ios.testflight'),
page('firefox/mobile', 'firefox/mobile.html'),
page('firefox/mobile-download', 'firefox/mobile-download.html'),
page('firefox/mobile-download/desktop', 'firefox/mobile-download-desktop.html'),
url('^firefox/send-to-device-post/$', views.send_to_device_ajax,
name='firefox.send-to-device-post'),
page('firefox/unsupported-systems', 'firefox/unsupported-systems.html'),
Expand Down
24 changes: 0 additions & 24 deletions bedrock/settings/static_media.py
Expand Up @@ -393,23 +393,6 @@
),
'output_filename': 'css/firefox_mobile-bundle.css',
},
'firefox_mobile_download': {
'source_filenames': (
'css/sandstone/sandstone-resp.less',
'css/base/global-nav.less',
'css/tabzilla/tabzilla-static.less',
'css/firefox/mobile-download.less',
),
'output_filename': 'css/firefox_mobile_download-bundle.css',
},
'firefox_mobile_download_desktop': {
'source_filenames': (
'css/base/send-to-device.less',
'css/firefox/horizon/background.less',
'css/firefox/mobile-download-desktop.less',
),
'output_filename': 'css/firefox_mobile_download_desktop_bundle.css',
},
# favor cache for scene 2 speed over 1 less HTTP request for scene 1
'firefox_new_common': {
'source_filenames': (
Expand Down Expand Up @@ -1349,13 +1332,6 @@
),
'output_filename': 'js/firefox_mobile-bundle.js',
},
'firefox_mobile_download_desktop': {
'source_filenames': (
'js/base/send-to-device.js',
'js/firefox/mobile-download-desktop.js',
),
'output_filename': 'js/firefox_mobile_download_desktop-bundle.js',
},
'firefox-switch': {
'source_filenames': (
'js/libs/jquery.waypoints.min.js',
Expand Down
83 changes: 0 additions & 83 deletions media/css/firefox/horizon/background.less

This file was deleted.

14 changes: 0 additions & 14 deletions media/css/firefox/horizon/lib.less

This file was deleted.

0 comments on commit ef8f540

Please sign in to comment.