diff --git a/application/src/main/data/json/system/scada_symbols/filter-hp.svg b/application/src/main/data/json/system/scada_symbols/filter-hp.svg index 6225d70b0e..58ff3951e5 100644 --- a/application/src/main/data/json/system/scada_symbols/filter-hp.svg +++ b/application/src/main/data/json/system/scada_symbols/filter-hp.svg @@ -1,12 +1,17 @@ { "title": "HP Filter", - "description": "Filter", + "description": "Filter with various states.", "searchTags": [ "filter" ], "widgetSizeX": 1, "widgetSizeY": 2, "tags": [ + { + "tag": "background", + "stateRenderFunction": "element.attr({fill: ctx.properties.filterColor});", + "actions": null + }, { "tag": "clickArea", "stateRenderFunction": null, @@ -219,13 +224,13 @@ ], "properties": [ { - "id": "runningColor", - "name": "{i18n:scada.symbol.colors}", + "id": "filterColor", + "name": "{i18n:scada.symbol.filter-color}", "type": "color", "default": "#FFFFFF", "required": null, - "subLabel": "{i18n:scada.symbol.running}", - "divider": true, + "subLabel": "", + "divider": false, "fieldSuffix": null, "disableOnProperty": null, "rowClass": "", @@ -268,7 +273,7 @@ } ] } - + diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 76e1ada0e0..b6ba4ec702 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -3307,6 +3307,7 @@ "show-low-critical-scale": "Show Low Critical state", "low-critical-scale": "Low Critical state", "low-critical-state-hint": "Double value indicates a low critical range up to the min value scale.", + "filter-color": "Filter color", "colors": "Colors", "alarm-colors": "Alarm colors" }