Skip to content

Commit

Permalink
fix cust icons in host/service header
Browse files Browse the repository at this point in the history
  • Loading branch information
lgmu committed Jul 27, 2023
1 parent e98eb6c commit f03ffa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/extinfo_type_1.tt
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
<div class="card w-full">
<div class="head justify-between">
<h3>Host: [% _host(host) | html %]</h3>
<div class="flex gap-x-1">
<div class="flex gap-x-3 items-center">
[% cust_vars = get_custom_vars(c, host); IF cust_vars.exists('THRUK_ACTION_MENU') %]
<div class="mr-3">
<div>
[% menu = get_action_menu(c, cust_vars.THRUK_ACTION_MENU) %]
[% IF menu.defined('err') && menu.err %]
<i class="fa-solid fa-exclamation round small yellow" title="[% menu.err | html %]"></i>
Expand Down
4 changes: 2 additions & 2 deletions templates/extinfo_type_2.tt
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
<div class="card w-full">
<div class="head justify-between">
<h3>Service [% _service(service) | html %] on <a class="link" href="extinfo.cgi?type=1&amp;host=[% service.host_name | uri %]">[% _shost(service) | html %]</a></h3>
<div class="flexrow gap-x-1">
<div class="flex gap-x-3 items-center">
[% cust_vars = get_custom_vars(c, service); IF cust_vars.exists('THRUK_ACTION_MENU') %]
<div class="mt-5 px-2">
<div>
[% menu = get_action_menu(c, cust_vars.THRUK_ACTION_MENU) %]
[% IF menu.defined('err') && menu.err %]
<i class="fa-solid fa-exclamation round small yellow" title="[% menu.err | html %]"></i>
Expand Down

0 comments on commit f03ffa8

Please sign in to comment.