Relay Search does not have an icon for StaleDesc
There is a new flag in town, and nobody told Relay Search about it: StaleDesc
!
We'll need a new icon to be added as src/main/resources/web/images/flags/staledesc.png
, and we need a few new lines of code:
diff --git a/src/main/resources/web/js/rs/models/relay.js b/src/main/resources/web/js/rs/models/relay.js
index 11d98fce..60316b82 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."]);
}
Where did we get the current set of icons from again?