diff options
author | Jordan <me@jordan.im> | 2020-09-05 13:47:36 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2020-09-05 13:47:36 -0700 |
commit | 9107ee3a0dce0dc9949b9bcea97d9d5acd52d790 (patch) | |
tree | cb90c9b754613643e8159f2be26290e7379181c7 /tor-metrics/templates/relay-list.html | |
parent | ab08066969ac13f8fa1cf3029eacca9ebb171106 (diff) | |
download | allium-9107ee3a0dce0dc9949b9bcea97d9d5acd52d790.tar.gz allium-9107ee3a0dce0dc9949b9bcea97d9d5acd52d790.zip |
rm unicode contact table header, nick truncating
Diffstat (limited to 'tor-metrics/templates/relay-list.html')
-rw-r--r-- | tor-metrics/templates/relay-list.html | 6 |
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>✉</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'] %} |