Update tabzilla! Kill redirects!

* Point to CDN
* Point straight to locale
This commit is contained in:
Ricky Rosario 2013-05-20 10:34:26 -04:00
Родитель ff2dae5af3
Коммит 2928757db5
2 изменённых файлов: 8 добавлений и 36 удалений

Просмотреть файл

@ -38,12 +38,6 @@ body {
min-width: 1000px;
text-align: left;
&.en-US {
> header {
border-top-color: #fff;
}
}
&.html-rtl {
margin: 0;
padding: 0;
@ -53,7 +47,7 @@ body {
> header {
.linear-gradient-top(#dee7ee, #cae1f4, 0%, #dee7ee, 65%, #d4dce4, 100%, url('../img/grain.png'));
border-bottom: 1px solid #b3b8bc;
border-top: 2px solid #686868;
border-top: 2px solid #fff;
margin-bottom: 20px;
padding-bottom: 20px;
@ -61,13 +55,6 @@ body {
float: left;
margin-top: 20px;
}
.mozilla-tab {
display: block;
float: right;
position: relative;
z-index: 999;
}
}
.html-rtl {
@ -75,10 +62,6 @@ body {
.logo {
float: right;
}
.mozilla-tab {
float: left;
}
}
}
}

Просмотреть файл

@ -26,10 +26,7 @@
{{ css(style) }}
{% endfor %}
{% if request.LANGUAGE_CODE == 'en-US' %}
{# tabzilla is en-US only for now #}
<link href="//www.mozilla.org/tabzilla/media/css/tabzilla.css" rel="stylesheet" />
{% endif %}
<link href="//mozorg.cdn.mozilla.net/media/css/tabzilla-min.css" rel="stylesheet" />
<!--[if lte IE 7]>
{{ css('ie') }}
@ -105,12 +102,7 @@
<header>
<div class="container_12 cf">
<div class="grid_12">
{% if request.LANGUAGE_CODE == 'en-US' %}
{# tabzilla is en-US only for now #}
<a href="http://www.mozilla.org/" id="tabzilla">mozilla</a>
{% else %}
<a class="mozilla-tab" href="http://mozilla.org/"><img src="{{ MEDIA_URL }}img/mozilla-tab.png" alt="mozilla.org"></a>
{% endif %}
<div class="cf">
<nav id="aux-nav" role="navigation">
<ul>
@ -203,10 +195,7 @@
</div>
</footer>{# /#footer #}
{% if request.LANGUAGE_CODE == 'en-US' %}
{# tabzilla is en-US only for now #}
<script src="//www.mozilla.org/tabzilla/media/js/tabzilla.js"></script>
{% endif %}
<script src="//mozorg.cdn.mozilla.net/{{ request.LANGUAGE_CODE }}/tabzilla/tabzilla.js"></script>
<script src="{{ url('jsi18n') }}build:{{ BUILD_ID_JS }}"></script>
<script src="{{ url('wafflejs') }}"></script>