From b4dcfb1a6c5b242e09cbd3bffdc43e7a62a30e45 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 7 Nov 2010 12:12:58 +0100 Subject: improved filter menu (thanks trashy) --- smarty/templates/rpmphp/rpm.tpl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'smarty/templates/rpmphp') diff --git a/smarty/templates/rpmphp/rpm.tpl b/smarty/templates/rpmphp/rpm.tpl index 742b07d..b2a4f50 100644 --- a/smarty/templates/rpmphp/rpm.tpl +++ b/smarty/templates/rpmphp/rpm.tpl @@ -32,18 +32,20 @@ +{if $channels|@count gt 1} -{foreach from=$channels item=o} + {foreach from=$channels item=o} -{/foreach} + {/foreach} +{/if} +{if $owners|@count gt 1} -{foreach from=$owners item=o} + {foreach from=$owners item=o} -{foreachelse} - -{/foreach} + {/foreach} +{/if} -- cgit