Merge pull request #496 from th-h/thh-plugins-emptygroup
Suppress empty groups in plugin list.
This commit is contained in:
commit
594c8177f5
@ -79,7 +79,7 @@
|
|||||||
<span class="msg_notice"><span class="icon-attention-circled" aria-hidden="true"></span> {$CONST.NO_UPDATES}</span>
|
<span class="msg_notice"><span class="icon-attention-circled" aria-hidden="true"></span> {$CONST.NO_UPDATES}</span>
|
||||||
{else}
|
{else}
|
||||||
{foreach $pluggroups AS $pluggroup => $groupstack}
|
{foreach $pluggroups AS $pluggroup => $groupstack}
|
||||||
{if $only_group && $pluggroup != $only_group}{continue}{/if}
|
{if $only_group && $pluggroup != $only_group || empty($pluggroup)}{continue}{/if}
|
||||||
<h3>{foreach $groupnames as $available_group => $available_name}{if $pluggroup == $available_group}{$available_name}{/if}{/foreach}</h3>
|
<h3>{foreach $groupnames as $available_group => $available_name}{if $pluggroup == $available_group}{$available_name}{/if}{/foreach}</h3>
|
||||||
{if $only_group == 'UPGRADE' && $pluggroups['UPGRADE']|@count > 1}
|
{if $only_group == 'UPGRADE' && $pluggroups['UPGRADE']|@count > 1}
|
||||||
<button id="updateAll">Update All</button>
|
<button id="updateAll">Update All</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user