Commit c0976499 authored by Georg Koppen's avatar Georg Koppen
Browse files

Bug 29035: Add link for newsletter sign-up

Patch based on a version written by Arthur Edelstein
parent 3edfe4d5
......@@ -62,9 +62,12 @@ window.addEventListener("pageshow", function() {
</div>
<div id="bottom">
<p class="showForManual moreInfoLink">&aboutTor.torbrowser_user_manual_questions.label;
<p id="manual" class="showForManual moreInfoLink">&aboutTor.torbrowser_user_manual_questions.label;
<a id="manualLink" target="_blank">&aboutTor.torbrowser_user_manual_link.label;</a></p>
<p>&aboutTor.tor_mission.label;
<p id="newsletter" class="moreInfoLink"><img class="imageStyle" src="resource://torbutton-assets/icon-newsletter.png"/><br/>&aboutTor.newsletter.tagline;<br/>
<a href="https://newsletter.torproject.org">&aboutTor.newsletter.link_text; &#187;</a>
</p>
<p id="mission">&aboutTor.tor_mission.label;
<a href="&aboutTor.getInvolved.link;">&aboutTor.getInvolved.label;</a></p>
</div>
</div>
......
......@@ -149,6 +149,19 @@ body:not([showmanual]) .showForManual {
font-size: 15px;
}
#bottom img.imageStyle {
padding-inline-end: 10px;
}
/* Hide the linebreaks on large enough screens (desktops, laptops, and
* tablets).
*/
@media only screen and (min-width: 768px) {
#bottom br {
display: none;
}
}
.searchbox form {
width: 500px;
margin: 39px auto 0px auto;
......@@ -293,7 +306,8 @@ body:not([showmanual]) .showForManual {
body[mobile] #torstatus-version,
body[mobile] .searchbox,
body[mobile] .top .heading2,
body[mobile] #bottom {
body[mobile] #manual,
body[mobile] #mission {
display: none;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment