Skip to content

Commit

Permalink
Fix Bug 1239531 - Google logo on Play Store button is outdated
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoshino committed Feb 8, 2016
1 parent d1781b6 commit 6a9748b
Show file tree
Hide file tree
Showing 69 changed files with 13 additions and 29 deletions.
6 changes: 3 additions & 3 deletions bedrock/firefox/templates/firefox/android/index.html
Expand Up @@ -35,7 +35,7 @@
{% call fxfamilynav('android', 'index') %}
<div class="{% if has_widget %}show-widget{% endif %}">
<a class="dl-button" rel="external" href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}">
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '129', 'height': '45', 'l10n': True}) }}
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }}
</a>
<button class="send-to button-flat-dark" type="button">{{ _('Get Firefox for Android') }}</button>
</div>
Expand All @@ -62,7 +62,7 @@ <h2 class="heading">
{{ send_to_device(platform='android', include_logo=False) }}

<a class="dl-button" rel="external" href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}" data-button-type="download" data-interaction="download click" data-download-version="Firefox for Android">
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '129', 'height': '45', 'l10n': True}) }}
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }}
</a>
<small class="download-other">
<a class="dl-button" href="{{ firefox_url('android', 'all') }}">{{_('Systems &amp; Languages')}}</a>
Expand Down Expand Up @@ -391,7 +391,7 @@ <h2 class="heading">{{ _('Don’t leave home without being in Sync') }}</h2>
<h3>{{ _('Choose Firefox') }}</h3>
<div id="send-to-device-footer">
<a class="dl-button" rel="external" href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}" data-button-type="download" data-interaction="button download click" data-download-version="Firefox for Android" data-alt="{{ _('Get Firefox for Android') }}">
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '129', 'height': '45', 'l10n': True}) }}
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }}
</a>
<button class="send-to button-flat-dark" type="button">{{ _('Get Firefox for Android') }}</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion bedrock/firefox/templates/firefox/mobile-download.html
Expand Up @@ -51,7 +51,7 @@ <h1 class="large" id="main-headline">
<ul>
<li class="android">
<a rel="external" href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}">
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '129', 'height': '45', 'l10n': True}) }}
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }}
</a>
</li>
<li class="ios">
Expand Down
2 changes: 1 addition & 1 deletion bedrock/firefox/templates/firefox/new.html
Expand Up @@ -167,7 +167,7 @@ <h1 class="large" id="main-headline">
<ul>
<li class="android">
<a rel="external" href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}">
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '129', 'height': '45', 'l10n': True}) }}
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }}
</a>
</li>
<li class="ios">
Expand Down
4 changes: 2 additions & 2 deletions bedrock/firefox/templates/firefox/private-browsing.html
Expand Up @@ -40,7 +40,7 @@ <h1>{{ _('More protection. <br>The most privacy. <br>Only from Firefox.') }}</h1
</div>
<div class="android-download-button">
<a rel="external" href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}" data-button-type="download" data-interaction="download click" data-download-version="Firefox for Android">
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '129', 'height': '45', 'l10n': True}) }}
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }}
</a>
</div>
<div class="ios-download-button">
Expand Down Expand Up @@ -138,7 +138,7 @@ <h2>{{ _('To give the new Private Browsing a try, download Firefox.') }}</h2>
</div>
<div class="android-download-button">
<a rel="external" href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}" data-button-type="download" data-interaction="download click" data-download-version="Firefox for Android">
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '129', 'height': '45', 'l10n': True}) }}
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }}
</a>
</div>
<div class="ios-download-button">
Expand Down
Expand Up @@ -265,7 +265,7 @@ <h4>{{ _('unresolved') }}</h4>
</div>
<div class="android-download-button">
<a rel="external" href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}" data-button-type="download" data-interaction="download click" data-download-version="Firefox for Android">
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '129', 'height': '45', 'l10n': True}) }}
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }}
</a>
</div>
<div class="ios-download-button">
Expand Down
2 changes: 1 addition & 1 deletion bedrock/firefox/templates/firefox/sync.html
Expand Up @@ -216,7 +216,7 @@ <h3>{{ _('On the go') }}</h3>
<header>
<h3>{{ _('Get Firefox everywhere') }}</h3>
<a href="{{ settings.GOOGLE_PLAY_FIREFOX_LINK }}" data-interaction="button click" data-element-action="Sync CTA" id="cta-android-footer">
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '129', 'height': '45', 'l10n': True}) }}
{{ high_res_img('firefox/android/btn-google-play.png', {'alt': _('Get it on Google Play'), 'width': '152', 'height': '45', 'l10n': True}) }}
</a>
<a href="{{ firefox_ios_url('mozorg-sync_page-appstore-button-footer') }}" data-interaction="button click" data-element-action="Sync CTA" id="cta-ios-footer">
<img src="{{ l10n_img('firefox/ios/btn-app-store.svg') }}" alt="{{ _('Download on the App Store') }}" width="152" height="45">
Expand Down
12 changes: 2 additions & 10 deletions media/css/firefox/mobile-download.less
Expand Up @@ -80,23 +80,15 @@ html[lang|="en"] #main-headline span:first-child {
margin: @baseLine auto (@baseLine * 2);
padding: 0;
list-style: none;
width: 361px;
width: 384px;
.clearfix();
}

li {
float: left;
margin: 0 @baseLine;
width: 152px;
height: 45px;

// ie8 seems to need widths set to display properly
&.android {
width: 129px;
}

&.ios {
width: 152px;
}
}

a {
Expand Down
12 changes: 2 additions & 10 deletions media/css/firefox/new.less
Expand Up @@ -418,24 +418,16 @@ html[lang|="en"] #main-headline span:first-child {
margin: @baseLine auto (@baseLine * 2);
padding: 0;
list-style: none;
width: 361px;
width: 384px;
.clearfix();
}

li {
display: inline;
float: left;
margin: 0 @baseLine;
width: 152px;
height: 45px;

// ie8 seems to need widths set to display properly
&.android {
width: 129px;
}

&.ios {
width: 152px;
}
}

a {
Expand Down
Binary file removed media/img/firefox/android/btn-google-play.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified media/img/l10n/de/firefox/android/btn-google-play-high-res.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/img/l10n/de/firefox/android/btn-google-play.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/img/l10n/en-US/firefox/android/btn-google-play.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/img/l10n/es-ES/firefox/android/btn-google-play.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file modified media/img/l10n/fr/firefox/android/btn-google-play-high-res.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/img/l10n/fr/firefox/android/btn-google-play.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file modified media/img/l10n/it/firefox/android/btn-google-play-high-res.png
Binary file modified media/img/l10n/it/firefox/android/btn-google-play.png
Binary file modified media/img/l10n/ja/firefox/android/btn-google-play-high-res.png
Binary file modified media/img/l10n/ja/firefox/android/btn-google-play.png
Binary file modified media/img/l10n/ko/firefox/android/btn-google-play.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file modified media/img/l10n/pt-BR/firefox/android/btn-google-play.png
Binary file modified media/img/l10n/ru/firefox/android/btn-google-play-high-res.png
Binary file modified media/img/l10n/ru/firefox/android/btn-google-play.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file modified media/img/l10n/zh-CN/firefox/android/btn-google-play-high-res.png
Binary file modified media/img/l10n/zh-CN/firefox/android/btn-google-play.png
Binary file modified media/img/l10n/zh-TW/firefox/android/btn-google-play.png

0 comments on commit 6a9748b

Please sign in to comment.