Skip to content

Commit

Permalink
Fix duration not being centered in hostdetail view
Browse files Browse the repository at this point in the history
  • Loading branch information
lgmu authored Jul 5, 2023
1 parent e194f3e commit ffe6670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/_status_hostdetail_table.tt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<div class='status col_state text-center'>[% status %]</div>
</td>
<td class='[% class %] last_check text-center'>[% last_check(c, h.last_check) %]</td>
<td class='duration' title="[% IF h.last_state_change %][% format_date(h.last_state_change, datetime_format_long) %][% ELSE %]host has never changed its state yet.[% END %]">
<td class='duration text-center' title="[% IF h.last_state_change %][% format_date(h.last_state_change, datetime_format_long) %][% ELSE %]host has never changed its state yet.[% END %]">
[% IF h.last_state_change %][% duration(date.now - h.last_state_change, 6) %][% ELSE %][% duration(date.now - program_start, 6) %]+[% END %]
</td>
[% IF show_host_attempts %]
Expand Down

0 comments on commit ffe6670

Please sign in to comment.