[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [atlas/master] Display country name and flag on detail view



commit 543abfaf4ce00d05210c02e429af5903acd2d743
Author: Justin Bull <me@xxxxxxxxxxxxx>
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>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits