bodhi/templates/show.kid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit fca77d530e0fd51997d2588a36b40dbeb9e70154 Author: Josh Kayse joshkayse@fedoraproject.org Date: Wed Mar 3 14:40:18 2010 -0500
only show push to stable if it needs to be pushed to stable
diff --git a/bodhi/templates/show.kid b/bodhi/templates/show.kid index 5c2f65a..04950a8 100644 --- a/bodhi/templates/show.kid +++ b/bodhi/templates/show.kid @@ -85,7 +85,7 @@ karma = "<img src="%s" align="top" /> <b>%d</b>" % (tg.url('/static/images/k </td> </span> </span> - <span py:if="update.release.locked and not update.critpath and update.critpath_approved"> + <span py:if="update.status != 'stable' and update.release.locked and not update.critpath and update.critpath_approved"> <td> <a href="${util.url('/request/stable/%s' % update.title)}" class="list"> <img src="${tg.url('/static/images/submit.png')}" border="0"/> @@ -93,7 +93,7 @@ karma = "<img src="%s" align="top" /> <b>%d</b>" % (tg.url('/static/images/k </a> </td> </span> - <span py:if="not update.release.locked"> + <span py:if="not update.release.locked and update.status != 'stable'"> <td> <a href="${util.url('/request/stable/%s' % update.title)}" class="list"> <img src="${tg.url('/static/images/submit.png')}" border="0"/>