From eb425e1bee76cb6ec7196506954229e77eea82ef Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Sun, 23 Jan 2011 11:58:43 +0100
Subject: display only ajax/pkgdb for active repo

---
 smarty/templates/rpmphp/zoom.tpl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'smarty/templates')

diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl
index d8416ac..82e1a54 100644
--- a/smarty/templates/rpmphp/zoom.tpl
+++ b/smarty/templates/rpmphp/zoom.tpl
@@ -78,7 +78,7 @@
                                 {if $p->repo_main neq $prev}
                                     {if $fedpkg}
                                         {getBranchPeople branch=$p->repo_main people='owner'}
-                                    {else}
+                                    {elseif $p->active}
                                         {$ajax_infos}
                                     {/if}
                                 {/if}
@@ -87,7 +87,7 @@
                                 {if $p->repo_main neq $prev}
                                     {if $fedpkg}
                                         {getBranchPeople branch=$p->repo_main people='people'}
-                                    {else}
+                                    {elseif $p->active}
                                         {$ajax_infos}
                                     {/if}
                                 {/if}
-- 
cgit