From: Philipp Klaus Date: Fri, 29 Sep 2017 12:53:41 +0000 (+0800) Subject: DASH: pv_details: improve headlines (pv_name, alias, ...) X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=5932d1c5e5a7eb1d587928071f8545f0031b5133;p=mvd_epics.git DASH: pv_details: improve headlines (pv_name, alias, ...) --- 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 %}