From 5932d1c5e5a7eb1d587928071f8545f0031b5133 Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Fri, 29 Sep 2017 20:53:41 +0800 Subject: [PATCH] DASH: pv_details: improve headlines (pv_name, alias, ...) --- python_suite/dashboard/views/pv_details_bootstrap.jinja2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python_suite/dashboard/views/pv_details_bootstrap.jinja2 b/python_suite/dashboard/views/pv_details_bootstrap.jinja2 index 9aad125..8053890 100644 --- a/python_suite/dashboard/views/pv_details_bootstrap.jinja2 +++ b/python_suite/dashboard/views/pv_details_bootstrap.jinja2 @@ -21,12 +21,12 @@ {% endblock %} {% block content %} -

Process Variable Details

-

{{ pv_name }}

{% set PV = config.PVs[config.PV_lookup[pv_name]] %} +

Process Variable Details

+

{{ PV.alias or pv_name }}

+{% if PV.alias %}
{{ pv_name }}
{% endif %}
-
{{ PV.alias or PV.name }}
PV
- + Current Value: {% if 'switch' in PV.classes %}