#33453: Relay Search does not have an icon for StaleDesc --------------------------------------+-------------------------- Reporter: karsten | Owner: metrics-team Type: defect | Status: new Priority: Medium | Milestone: Component: Metrics/Relay Search | Version: Severity: Normal | Keywords: Actual Points: | Parent ID: Points: | Reviewer: Sponsor: | --------------------------------------+-------------------------- 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? -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33453> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs