diff options
Diffstat (limited to 'smarty/templates')
-rw-r--r-- | smarty/templates/rpmphp/zoom.tpl | 14 |
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} + + {/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} |