# HG changeset patch # User Thomas Junk # Date 1568032457 -7200 # Node ID e4e32c77ed83b6098feec86f136887d787fca78b # Parent 4ed2708234b9c376fda947ccbde24ccd7d7fe112 identify: improve legend. Keepalive keeps nash sutcliffe in component diff -r 4ed2708234b9 -r e4e32c77ed83 client/src/components/App.vue --- a/client/src/components/App.vue Mon Sep 09 14:24:14 2019 +0200 +++ b/client/src/components/App.vue Mon Sep 09 14:34:17 2019 +0200 @@ -17,7 +17,9 @@
- + + +
diff -r 4ed2708234b9 -r e4e32c77ed83 client/src/components/identify/Identify.vue --- a/client/src/components/identify/Identify.vue Mon Sep 09 14:24:14 2019 +0200 +++ b/client/src/components/identify/Identify.vue Mon Sep 09 14:34:17 2019 +0200 @@ -264,8 +264,8 @@ const nsc72 = this.config.gm_forecast_vs_reality_nsc_72h; const messagesPerState = { OK: this.$gettext("Nash-Sutcliffe") + `>${nsc24} /24h >${nsc72} / 72h`, - WARNING: this.$gettext("Nash-Sutcliffe") + ` < ${nsc72}`, - DANGER: this.$gettext("Nash-Sutcliffe") + ` < ${nsc24}`, + WARNING: this.$gettext("Nash-Sutcliffe") + ` < ${nsc72} / 72h`, + DANGER: this.$gettext("Nash-Sutcliffe") + ` < ${nsc24} / 72h`, NEUTRAL: this.$gettext("Nash-Sutcliffe not available") }; return messagesPerState[this.gaugeStatus]; @@ -278,8 +278,8 @@ const nsc72 = this.config.gm_forecast_vs_reality_nsc_72h; const messagesPerState = { OK: this.$gettext("Nash-Sutcliffe") + `>${nsc24} /24h >${nsc72} / 72h`, - WARNING: this.$gettext("Nash-Sutcliffe") + ` < ${nsc72}`, - DANGER: this.$gettext("Nash-Sutcliffe") + ` < ${nsc24}`, + WARNING: this.$gettext("Nash-Sutcliffe") + ` < ${nsc72} / 72h`, + DANGER: this.$gettext("Nash-Sutcliffe") + ` < ${nsc24} / 72h`, NEUTRAL: this.$gettext("Nash-Sutcliffe not available") }; return messagesPerState[this.refGaugeStatus];