[tor-commits] [atlas/master] Add full exit policy to details page, after summary.
karsten at torproject.org
karsten at torproject.org
Fri Sep 14 18:00:21 UTC 2012
commit ab11ee350b772bd1945bb277b9854f6bc51ac796
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Fri Sep 14 13:54:27 2012 -0400
Add full exit policy to details page, after summary.
---
templates/details/main.html | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/templates/details/main.html b/templates/details/main.html
index 673e36b..088b6b8 100644
--- a/templates/details/main.html
+++ b/templates/details/main.html
@@ -39,6 +39,11 @@
<pre>reject<% _.each(relay.get('exit_policy_summary')['reject'],
function(ports) { %><br> <%= $.trim(ports) %><% });} %></pre>
</dd>
+ <dt><span class="tip" data-content="Policy of exit connections that the relay is going to accept or reject." data-original-title="Exit policy">Exit Policy</span></dt>
+ <dd>
+ <pre><% _.each(relay.get('exit_policy'), function(line) { %>
+<%= $.trim(line) %><% }); %></pre>
+ </dd>
</dl>
More information about the tor-commits
mailing list