bodhi/templates/show.kid | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
New commits:
commit 1a37dffc6a78022a9b4ed6528c2bf6a7a1f1cb1f
Author: Josh Kayse <joshkayse(a)fedoraproject.org>
Date: Mon Feb 8 11:49:23 2010 -0500
do not show a push to testing link if an update is in testing
diff --git a/bodhi/templates/show.kid b/bodhi/templates/show.kid
index 4c3e99d..11fe04b 100644
--- a/bodhi/templates/show.kid
+++ b/bodhi/templates/show.kid
@@ -65,12 +65,14 @@ karma = "<img src=\"%s\" align=\"top\"
/> <b>%d</b>" % (tg.url('/static/images/k
</td>
</span>
<span py:if="update.request == None">
- <td>
- <a
href="${util.url('/request/testing/%s' % update.title)}"
class="list">
- <img
src="${tg.url('/static/images/testing.png')}" border="0"/>
- Push to Testing
- </a>
- </td>
+ <span py:if="update.status !=
'testing'">
+ <td>
+ <a
href="${util.url('/request/testing/%s' % update.title)}"
class="list">
+ <img
src="${tg.url('/static/images/testing.png')}" border="0"/>
+ Push to Testing
+ </a>
+ </td>
+ </span>
<span py:if="update.release.locked and
update.critpath and update.critpath_approved">
<span py:if="'qa' in
tg.identity.groups or 'releng' in tg.identity.groups">
<td>
Show replies by date