update metrics links in Tor WebUI

https://atlas.torproject.org/ is deprecated in favour of
https://metrics.torproject.org/ by now.

Fixes #11781.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Peter Müller
2019-02-23 16:54:00 +00:00
committed by Michael Tremer
parent cc0104dce3
commit 0675a66d83

View File

@@ -519,7 +519,7 @@ END
<tr>
<td width='40%' class='base'>$Lang::tr{'tor relay fingerprint'}:</td>
<td width='60%'>
<a href='https://atlas.torproject.org/#details/$fingerprint' target='_blank'>$fingerprint</a>
<a href='https://metrics.torproject.org/rs.html#details/$fingerprint' target='_blank'>$fingerprint</a>
</td>
</tr>
END
@@ -612,7 +612,7 @@ END
print <<END;
<tr>
<td width='40%'>
<a href='https://atlas.torproject.org/#details/$node->{'fingerprint'}' target='_blank'>
<a href='https://metrics.torproject.org/rs.html#details/$node->{'fingerprint'}' target='_blank'>
$node->{'name'}
</a>
</td>