[tor-commits] [tpo/master] Add Download options

hiro at torproject.org hiro at torproject.org
Fri Apr 26 12:48:25 UTC 2019


commit a0931ab88924292ce18b69d7e8ede685ef62a614
Author: hiro <hiro at torproject.org>
Date:   Fri Apr 26 14:48:15 2019 +0200

    Add Download options
---
 templates/download-options.html |  1 -
 templates/download-tor.html     | 17 +++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/templates/download-options.html b/templates/download-options.html
index 0bebe37..8698e73 100644
--- a/templates/download-options.html
+++ b/templates/download-options.html
@@ -33,7 +33,6 @@
             </td>
           </tr>
         {% endfor %}
-        {% set t = bag('versions', 'torbrowser-stable') %}
       </tbody>
     </table>
   </div>
diff --git a/templates/download-tor.html b/templates/download-tor.html
index 607b22d..699ce0a 100644
--- a/templates/download-tor.html
+++ b/templates/download-tor.html
@@ -5,6 +5,7 @@
 </div>
 <div class="container py-3">
   <div class="row">
+    <h2 class="text-primary">Tor Source</h2>
     <table class="table">
       <thead>
         <tr>
@@ -30,4 +31,20 @@
       </tbody>
     </table>
   </div>
+  <div class="row">
+    <h2 class="text-primary">Windows Expert Bundle</h2>
+    {% set t = bag('versions', 'torbrowser-stable') %}
+    <table class="table">
+      <tbody>
+        <tr>
+          <td>Windows 10, 8, 7, Vista, XP, 2000, 2003 Server, ME, and Windows 98SE</td>
+          <td>Contains just Tor and nothing else.</td>
+          <td class="text-right">
+            {% from "macros/downloads.html" import render_windows_expert %}
+            {{ render_windows_expert(t.version, t.win32) }}
+          </td>
+        </tr>
+      </tbody>
+    </table>
+  </div>
 </div>



More information about the tor-commits mailing list