{css} {js} {tab_container id="nodegroups" label="Node Groups"} {tab_header content_id="nodegroupspanel"} {tab_header_cell icon="lms-ui-icon-nodegroup"} {trans("Node Groups:")} {/tab_header_cell} {/tab_header} {tab_contents id="nodegroupspanel"} {tab_table} {if $nodegroups}
{trans("Name:")}
{trans("Description:")}
{trans("ID:")}
{/if} {foreach $nodegroups as $nodegroup}
{$nodegroup.name}
{$nodegroup.description}
({$nodegroup.id|string_format:"%04d"})
{button type="link" icon="delete" class="delete-nodegroup" href="?m=nodegroup&action=delete&nodegroupid={$nodegroup.id}&id={$nodeinfo.id}" tip="Remove assignment"}
{foreachelse}
{trans("That node is not a member of any group.")}
{/foreach} {/tab_table} {tab_button_panel} {tab_buttons} {if !empty($othernodegroups)} {button id="add-nodegroups" icon="add" tip="Add node to groups" label="Add"} {/if} {/tab_buttons} {tab_buttons} {button id="delete-nodegroups" icon="delete" label="Delete"} {/tab_buttons} {/tab_button_panel} {/tab_contents} {/tab_container}