From f03ffa805ec983542439d9c0fe89058e25b993dc Mon Sep 17 00:00:00 2001 From: Lorenz Gruenwald Date: Thu, 27 Jul 2023 13:21:31 +0200 Subject: [PATCH] fix cust icons in host/service header --- templates/extinfo_type_1.tt | 4 ++-- templates/extinfo_type_2.tt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/extinfo_type_1.tt b/templates/extinfo_type_1.tt index 4980ae6924..d5aa4fc651 100644 --- a/templates/extinfo_type_1.tt +++ b/templates/extinfo_type_1.tt @@ -58,9 +58,9 @@

Host: [% _host(host) | html %]

-
+
[% cust_vars = get_custom_vars(c, host); IF cust_vars.exists('THRUK_ACTION_MENU') %] -
+
[% menu = get_action_menu(c, cust_vars.THRUK_ACTION_MENU) %] [% IF menu.defined('err') && menu.err %] diff --git a/templates/extinfo_type_2.tt b/templates/extinfo_type_2.tt index 4c9a216de0..06eedb1611 100644 --- a/templates/extinfo_type_2.tt +++ b/templates/extinfo_type_2.tt @@ -62,9 +62,9 @@

Service [% _service(service) | html %] on [% _shost(service) | html %]

-
+
[% cust_vars = get_custom_vars(c, service); IF cust_vars.exists('THRUK_ACTION_MENU') %] -
+
[% menu = get_action_menu(c, cust_vars.THRUK_ACTION_MENU) %] [% IF menu.defined('err') && menu.err %]