From c135cb087606186df11915826cd8bfe3b2099ad2 Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Tue, 16 Nov 2021 16:42:18 +0600 Subject: [PATCH] v5.3.3.0 Changelog: https://haproxy-wi.org/changelog.py#5_3_3 --- app/templates/include/input_macros.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/templates/include/input_macros.html b/app/templates/include/input_macros.html index 299e02f8..39de6110 100644 --- a/app/templates/include/input_macros.html +++ b/app/templates/include/input_macros.html @@ -41,6 +41,9 @@ {%- endmacro %} -{%- macro copy_to_clipboard(id='', value='', style='', class='') -%} - {{value}} +{%- macro copy_to_clipboard(id='', value='', show='', style='', class='') -%} + {% if show == '' %} + {% set show = value %} + {% endif %} + {{show}} {%- endmacro %}