[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tpo/develop] Add link to blog post regarding javascript
commit d460fb4d860928bfcdabcd63a97c2bf4b4166c8c
Author: Matthew Finkel <sysrqb@xxxxxxxxxxxxxx>
Date: Mon Mar 16 13:47:35 2020 +0000
Add link to blog post regarding javascript
---
templates/hero-download.html | 5 +++++
templates/macros/downloads.html | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/templates/hero-download.html b/templates/hero-download.html
index b51afd9d..1589a88d 100644
--- a/templates/hero-download.html
+++ b/templates/hero-download.html
@@ -45,6 +45,11 @@
</div>
</div>
+<div class="row pt-5">
+ {% from "macros/downloads.html" import render_tor_browser_blog_post %}
+ <h3 class="mx-auto text-white text-center">{{ _('Disabling Javascript: Please read the latest %s for more information.') |format(render_tor_browser_blog_post())| safe }}</h3>
+</div>
+
<div class="row p-5">
<a class="mx-auto text-white py-3 text-center" href="{{ 'languages'|url(alt=this.alt) }}"><u>{{ _('Download in another language or platform') }}</u></a>
<a class="mx-auto text-white py-3 text-center" href="{{ 'alpha'|url(alt=this.alt) }}"><u>{{ _('Download the latest alpha build') }}</u></a>
diff --git a/templates/macros/downloads.html b/templates/macros/downloads.html
index 1ca65ade..49ad3de7 100644
--- a/templates/macros/downloads.html
+++ b/templates/macros/downloads.html
@@ -67,3 +67,7 @@
{% macro render_tor_browser_manual() %}
<a class="mx-auto" href="https://tb-manual.torproject.org" target="_blank"><u>{{ _('Tor Browser manual') }}</u></a>
{% endmacro %}
+
+{% macro render_tor_browser_blog_post() %}
+<a class="mx-auto" href="https://blog.torproject.org/new-release-tor-browser-906" target="_blank"><u>{{ _('blog post') }}</u></a>
+{% endmacro %}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits