aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2020-09-05 13:47:36 -0700
committerJordan <me@jordan.im>2020-09-05 13:47:36 -0700
commit9107ee3a0dce0dc9949b9bcea97d9d5acd52d790 (patch)
treecb90c9b754613643e8159f2be26290e7379181c7
parentab08066969ac13f8fa1cf3029eacca9ebb171106 (diff)
downloadallium-9107ee3a0dce0dc9949b9bcea97d9d5acd52d790.tar.gz
allium-9107ee3a0dce0dc9949b9bcea97d9d5acd52d790.zip
rm unicode contact table header, nick truncating
-rw-r--r--tor-metrics/templates/relay-list.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/tor-metrics/templates/relay-list.html b/tor-metrics/templates/relay-list.html
index fa8cc79..226c0ce 100644
--- a/tor-metrics/templates/relay-list.html
+++ b/tor-metrics/templates/relay-list.html
@@ -6,7 +6,7 @@
<table class="table table-condensed">
<tr>
<th>Nickname</th>
- <th>&#9993;</th>
+ <th></th>
<th>Bandwidth</th>
<th class="visible-md visible-lg">IP Address</th>
<th>AS Number</th>
@@ -28,9 +28,9 @@
{% set obs_bandwidth = '%s %s'|format((relay['observed_bandwidth'] / 1000)|round(2, 'common'), 'KB/s') %}{% endif %}
{% if deactivate != 'family' and relay['effective_family']|length > 1 %}
- <td><a href="{{ path_prefix }}relay/{{ relay['fingerprint']|escape }}.html">{{ relay['nickname']|truncate(10)|escape }}</a> (<a href="{{ path_prefix }}family/{{ relay['effective_family'][0]|escape }}/">{{ relay['effective_family']|length }}</a>)</td>
+ <td><a href="{{ path_prefix }}relay/{{ relay['fingerprint']|escape }}.html">{{ relay['nickname']|escape }}</a> (<a href="{{ path_prefix }}family/{{ relay['effective_family'][0]|escape }}/">{{ relay['effective_family']|length }}</a>)</td>
{% else %}
- <td><a href="{{ path_prefix}}relay/{{ relay['fingerprint']|escape }}.html">{{ relay['nickname']|truncate(10)|escape }}</a></td>{% endif %}
+ <td><a href="{{ path_prefix}}relay/{{ relay['fingerprint']|escape }}.html">{{ relay['nickname']|escape }}</a></td>{% endif %}
{% if deactivate != 'contact' %}
{% if relay['contact'] %}