Skip to content

Commit

Permalink
Fix Bug 1097297 - Link to other systems & languages on the Firefox De…
Browse files Browse the repository at this point in the history
…veloper Edition page
  • Loading branch information
kyoshino committed Jan 12, 2015
1 parent 83f97c8 commit 8fb68e5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
1 change: 0 additions & 1 deletion bedrock/firefox/templates/firefox/developer.html
Expand Up @@ -31,7 +31,6 @@ <h2>{{ high_res_img('img/firefox/developer/title.png', {'alt': _('Firefox Develo
<h1>{{ _('Built for those who build the Web') }}</h1>
<h2>{{ _('Introducing the only browser made for developers like you.') }}</h2>
{{ download_firefox('aurora', icon=False, small=True, simple=True) }}
<p class="privacy"><a href="{{ url('privacy.notices.firefox') }}">{{ _('Privacy') }}</a></p>

{% if l10n_has_tag('new_doorhanger') %}
<p class="feedback-note">
Expand Down
Expand Up @@ -88,7 +88,7 @@ <h4>{{ _('Download Firefox') }} — {{ locale_name|safe }}</h4>
</small>
{% endif %}
{% if show_desktop %}
<small class="download-other download-other-desktop os_linux os_linux64 os_osx os_windows"{% if simple %} style="display: none !important;"{% endif %}>
<small class="download-other download-other-desktop os_linux os_linux64 os_osx os_windows">
<a href="{{ product_url('firefox', 'all', build) }}">{{ _('Systems &amp; Languages') }}</a> |
<a href="{{ product_url('firefox', 'notes', build) }}">{{ _('What’s New') }}</a> |
<a href="{{ url('privacy.notices.firefox') }}">{{ _('Privacy') }}</a>
Expand Down
16 changes: 8 additions & 8 deletions media/css/firefox/developer.less
Expand Up @@ -78,16 +78,16 @@
border-radius: 4px;
box-shadow: 0 4px 10px #000;
}
.privacy {
margin: @baseLine/2 auto 0;
.font-size(@smallFontSize);
opacity: .8;
}
}

.download-button .download-link {
.button-flat;
line-height: inherit;
.download-button {
.download-link {
.button-flat;
line-height: inherit;
}
small.download-other.download-other-desktop {
display: block !important;
}
}

.android {
Expand Down
4 changes: 4 additions & 0 deletions media/css/sandstone/buttons.less
Expand Up @@ -506,6 +506,10 @@
}
}

small.download-other {
display: none !important;
}

&.download-button-small {
.download-link {
width: 210px;
Expand Down

0 comments on commit 8fb68e5

Please sign in to comment.