Skip to content

Commit

Permalink
downtimes: improve style
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Apr 15, 2024
1 parent 9212bcb commit 48da5c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/_downtimes_table.tt
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
[% FOREACH d = downtimes %]
<tr class='[% IF names %] clickable[% END %] js-downtime-row' id="[% IF d.service_description == '' %]hst[% ELSE %]svc[% END %]_[% d.id %]_[% d.peer_key %]">
[% IF names %]
<td><a href="extinfo.cgi?type=1&amp;host=[% d.host_name | uri %]">[% _host(d.host_name) | html %]</a></td>
<td><a class="link" href="extinfo.cgi?type=1&amp;host=[% d.host_name | uri %]">[% _host(d.host_name) | html %]</a></td>
[% IF type == 'service' %]
[% IF d.service_description != "" %]
<td><a href="extinfo.cgi?type=2&amp;host=[% d.host_name | uri %]&amp;service=[% d.service_description | uri %]">[% _service(d.host_name, d.service_description) | html %]</a></td>
<td><a class="link" href="extinfo.cgi?type=2&amp;host=[% d.host_name | uri %]&amp;service=[% d.service_description | uri %]">[% _service(d.host_name, d.service_description) | html %]</a></td>
[% ELSE %]
<td></td>
[% END %]
Expand Down

0 comments on commit 48da5c2

Please sign in to comment.