summaryrefslogtreecommitdiffstats
path: root/smarty/templates/rpmphp
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-24 17:46:06 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-24 17:46:06 +0200
commit818d4fda44379e613877ed2251bb1da647479ed0 (patch)
tree973e4d4dc2c672bd0a6d2153e6e3b3c9b3b4de2c /smarty/templates/rpmphp
parentc92ea78488c49384e545ffaf79cd748fa33c815f (diff)
fix for Smarty 3.1.24
Diffstat (limited to 'smarty/templates/rpmphp')
-rw-r--r--smarty/templates/rpmphp/zoom.tpl14
1 files changed, 9 insertions, 5 deletions
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}
<tr class="{if $smarty.foreach.plist.iteration % 2 eq 0}even{else}odd{/if}">
- <td>{if $p->repo_main neq $prev}<strong>{$p->repo_main}</strong>{/if}</td>
+ <td>{if $p->repo_main != $prev}
+ <strong>{$p->repo_main}</strong>
+ {else}
+ &nbsp;
+ {/if}</td>
<td>{$p->repo_sub}</td>
<td><a href='{$p->rpmurl}' alt='Download source RPM'>
{if $p->epoch}{$p->epoch}:{/if}
{$p->ver}-{$p->rel}</a>
</td>
- <td{if $p->repo_main neq $prev} id="pkgdb_{$p->repo_main}_owner"{/if}>
- {if $p->repo_main neq $prev}
+ <td{if $p->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}
</td>
- <td{if $p->repo_main neq $prev} id="pkgdb_{$p->repo_main}_maintainers"{/if}>
- {if $p->repo_main neq $prev}
+ <td{if $p->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}