[tor-commits] [atlas/master] Display country name and flag on detail view
phw at torproject.org
phw at torproject.org
Sun Oct 13 00:00:10 UTC 2013
commit 543abfaf4ce00d05210c02e429af5903acd2d743
Author: Justin Bull <me at justinbull.ca>
Date: Sun Oct 6 14:19:44 2013 -0400
Display country name and flag on detail view
---
templates/details/main.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/details/main.html b/templates/details/main.html
index 1ee614f..9e7ec1b 100644
--- a/templates/details/main.html
+++ b/templates/details/main.html
@@ -76,7 +76,7 @@
</dd>
<dt><span class="tip" data-content="Country as found in a GeoIP database by resolving the relay's first onion-routing address." data-original-title="Country">Country</span></dt>
- <dd><%= relay.get('country') %></dd>
+ <dd><img class="inline country" title="<%= relay.get('countryname') %>" src="img/cc/<%= relay.get('country') %>.png"/> <%= relay.get('countryname') %></dd>
<dt><span class="tip" data-content="Autonomous System Number" data-original-title="AS Number">AS Number</span></dt>
<dd><%= _.escape(relay.get('as_no')) %></dd>
More information about the tor-commits
mailing list