Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(details): second part of code cleanup for "tools" #11725

Merged
merged 1 commit into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions www/include/monitoring/objectDetails/template/hostDetails.ihtml
Original file line number Diff line number Diff line change
Expand Up @@ -473,17 +473,6 @@
</td>
</tr>
{/if}
{section name=tool loop=$tools}
<tr class='list_two'>
<td class="ListColLeft ColPopup">
{if $tools[tool].popup == ""}
<a href="{$tools[tool].url}" target="{$tools[tool].target}">
{else}
<a href="#tools" name="tools" onClick="window.open('{$tools[tool].url}','','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no, width={$tools[tool].width}, height={$tools[tool].height}');">
{/if}
&#9679;&nbsp;{$tools[tool].name}</a></td>
</tr>
{/section}
</table>
</td>
</tr>
Expand Down
25 changes: 0 additions & 25 deletions www/include/monitoring/objectDetails/template/serviceDetails.ihtml
Original file line number Diff line number Diff line change
Expand Up @@ -127,31 +127,6 @@
</table>
</td>
</tr>

<tr>
<td>
{if $tools}
<table class="ListTable">
<tr class='ListHeader'>
<td class="ListColHeaderLeft">{$m_mon_tools}</td>
</tr>
{if $tools}
{section name=tool loop=$tools}
<tr class='list_one'>
<td class="ListColLeft ColPopup">
{if $tools[tool].popup == ""}
<a href="{$tools[tool].url}" target="{$tools[tool].target}">
{else}
<a href="#tools" name="tools" onClick="window.open('{$tools[tool].url}','','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no, width={$tools[tool].width}, height={$tools[tool].height}');">
{/if}
&#9679;&nbsp;{$tools[tool].name}</a></td>
</tr>
{/section}
{/if}
</table>
{/if}
</td>
</tr>
<tr>
<td>
{if $index_data}
Expand Down