From 818d4fda44379e613877ed2251bb1da647479ed0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 24 May 2015 17:46:06 +0200 Subject: fix for Smarty 3.1.24 --- smarty/templates/rpmphp/zoom.tpl | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'smarty') diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl index 09eb98f..0c34d2e 100644 --- a/smarty/templates/rpmphp/zoom.tpl +++ b/smarty/templates/rpmphp/zoom.tpl @@ -68,14 +68,18 @@ {assign var='prev' value=''} {foreach from=$packages item=p name=plist} - {if $p->repo_main neq $prev}{$p->repo_main}{/if} + {if $p->repo_main != $prev} + {$p->repo_main} + {else} +   + {/if} {$p->repo_sub} {if $p->epoch}{$p->epoch}:{/if} {$p->ver}-{$p->rel} - repo_main neq $prev} id="pkgdb_{$p->repo_main}_owner"{/if}> - {if $p->repo_main neq $prev} + repo_main != $prev} id="pkgdb_{$p->repo_main}_owner"{/if}> + {if $p->repo_main != $prev} {if $fedpkg} {getBranchPeople branch=$p->repo_main people='owner'} {elseif $p->askpkgdb} @@ -83,8 +87,8 @@ {/if} {/if} - repo_main neq $prev} id="pkgdb_{$p->repo_main}_maintainers"{/if}> - {if $p->repo_main neq $prev} + repo_main != $prev} id="pkgdb_{$p->repo_main}_maintainers"{/if}> + {if $p->repo_main != $prev} {if $fedpkg} {getBranchPeople branch=$p->repo_main people='people'} {elseif $p->askpkgdb} -- cgit