comparison client/src/components/identify/formatter.js @ 4863:544e5a2eacb6

Prepare formatting of ref gauges as links
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 05 Dec 2019 13:01:15 +0100
parents 391cc6291ea4
children 3c876c65cc43
comparison
equal deleted inserted replaced
4862:1a9e3e5feaa7 4863:544e5a2eacb6
29 if (p.key === "bottleneck_id") p.key = "ID"; 29 if (p.key === "bottleneck_id") p.key = "ID";
30 if (p.key === "responsible_country") 30 if (p.key === "responsible_country")
31 p.key = app.$gettext("Responsible Country"); 31 p.key = app.$gettext("Responsible Country");
32 if (p.key === "fa_date_info") p.key = app.$gettext("Fairway Date"); 32 if (p.key === "fa_date_info") p.key = app.$gettext("Fairway Date");
33 if (p.key === "fa_critical") p.key = app.$gettext("Fairway Critical"); 33 if (p.key === "fa_critical") p.key = app.$gettext("Fairway Critical");
34 if (p.key === "gauge_objname") p.key = app.$gettext("Reference Gauge");
35 if (p.key === "source_organization") 34 if (p.key === "source_organization")
36 p.key = app.$gettext("Source Organization"); 35 p.key = app.$gettext("Source Organization");
37 if (p.key === "gm_measuredate") 36 if (p.key === "gm_measuredate")
38 p.key = app.$gettext("Gauge Waterlevel Date"); 37 p.key = app.$gettext("Gauge Waterlevel Date");
39 if (p.key === "gm_waterlevel") p.key = app.$gettext("Gauge Waterlevel"); 38 if (p.key === "gm_waterlevel") p.key = app.$gettext("Gauge Waterlevel");