diff options
Diffstat (limited to 'allium/templates/relay-list.html')
-rw-r--r-- | allium/templates/relay-list.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/allium/templates/relay-list.html b/allium/templates/relay-list.html index 8283c04..6698755 100644 --- a/allium/templates/relay-list.html +++ b/allium/templates/relay-list.html @@ -7,7 +7,7 @@ <tr> <th></th> <th>Nickname</th> -<th></th> +<th>Contact</th> <th>Bandwidth</th> <th class="visible-md visible-lg">IP Address</th> <th>AS Number</th> @@ -49,13 +49,15 @@ relay['fingerprint']|escape }}.html">{{ relay['nickname']|truncate(15)|escape {% if key != 'contact' -%} {% if relay['contact'] -%} -<td><a href="{{ path_prefix }}contact/{{ relay['contact']|hash }}/" title="{{ -relay['contact']|escape }}">✉</a></td> +<td><code><a href="{{ path_prefix }}contact/{{ relay['contact_md5'] }}/" +title="{{ relay['contact']|escape }}">{{ relay['contact_md5'][0:8] +}}</a></code></td> {% else -%} -<td title="none">✉</td> +<td title="none"><code>none</code></td> {% endif -%} {% else -%} -<td title="{{ relay['contact']|escape }}">✉</td> +<td title="{{ relay['contact']|escape }}"><code>{{ relay['contact_md5'][0:8] +}}</code></td> {% endif -%} <td>{{ obs_bandwidth }}</td> |