From bc08be681e18338887ba6af84440975489cf8239 Mon Sep 17 00:00:00 2001
From: James Valleroy
Date: Sat, 11 Oct 2014 16:05:38 -0400
Subject: [PATCH] Reorganize Tor module template.
---
plinth/modules/tor/templates/tor.html | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/plinth/modules/tor/templates/tor.html b/plinth/modules/tor/templates/tor.html
index 2bff35149..916137773 100644
--- a/plinth/modules/tor/templates/tor.html
+++ b/plinth/modules/tor/templates/tor.html
@@ -20,10 +20,18 @@
{% block main_block %}
-A Tor SOCKS port is available on your FreedomBox on TCP port
-9050.
+Status
-Your FreedomBox is configured as a Tor bridge with obfsproxy, so it
+
+{% if is_running %}
+
Tor is running
+{% else %}
+ Tor is not running
+{% endif %}
+
+
+Bridge
+Your FreedomBox is configured as a Tor bridge with obfsproxy, so it
can help circumvent censorship. If your FreedomBox is behind a router
or firewall, you should make sure the following ports are open, and
port-forwarded, if necessary:
@@ -36,13 +44,11 @@ port-forwarded, if necessary:
{% endfor %}
-
-{% if is_running %}
- Tor is running
-{% else %}
- Tor is not running
-{% endif %}
+
+SOCKS
+A Tor SOCKS port is available on your FreedomBox on TCP port
+9050.
{% endblock %}