commit cff715e3887ebf960290bc8fc7195614c4b93d9b Author: Karsten Loesing karsten.loesing@gmx.net Date: Mon Mar 9 17:31:41 2020 +0100
Add icon for StaleDesc flag.
The new icon is based on clock, solid style in Font Awesome Free 5.21.1. It was converted using Inkscape 0.92.4 using the command: `inkscape -z -e clock.png -w 16 -h 16 clock.svg`.
Fixes #33453. --- src/main/resources/web/images/flags/staledesc.png | Bin 0 -> 345 bytes src/main/resources/web/js/rs/models/relay.js | 3 +++ 2 files changed, 3 insertions(+)
diff --git a/src/main/resources/web/images/flags/staledesc.png b/src/main/resources/web/images/flags/staledesc.png new file mode 100644 index 0000000..bb9faf0 Binary files /dev/null and b/src/main/resources/web/images/flags/staledesc.png differ diff --git a/src/main/resources/web/js/rs/models/relay.js b/src/main/resources/web/js/rs/models/relay.js index 11d98fc..60316b8 100644 --- a/src/main/resources/web/js/rs/models/relay.js +++ b/src/main/resources/web/js/rs/models/relay.js @@ -43,6 +43,9 @@ define([ if (flag == "Stable") { output.push([flag, "stable", "This relay is suitable for long-lived circuits."]); } + if (flag == "StaleDesc") { + output.push([flag, "staledesc", "This relay should upload a new descriptor because the old one is too old."]); + } if (flag == "V2Dir") { output.push([flag, "v2dir", "This relay implements the v2 directory protocol or higher."]); }
tor-commits@lists.torproject.org