[Blends-commit] [SCM] website branch, master, updated. 9d37e39709be7d604048ef6f3ff1a41cd0ae857c
Ole Streicher
debian at liska.ath.cx
Mon Dec 7 16:00:49 UTC 2015
The following commit has been merged in the master branch:
commit a61254d6173ff794186dada4c4adb89c5fc3a0b3
Author: Ole Streicher <debian at liska.ath.cx>
Date: Mon Dec 7 16:46:25 2015 +0100
Dont show maintainer page for NEW and started packages; show QUeue for NEW
diff --git a/webtools/templates/packages.xhtml b/webtools/templates/packages.xhtml
index e923dd9..50a3197 100644
--- a/webtools/templates/packages.xhtml
+++ b/webtools/templates/packages.xhtml
@@ -442,16 +442,27 @@ function show_fulldesc(hash) {
</a>
</li>
</py:if>
- <li>
- <a href="https://tracker.debian.org/pkg/${project.pkg}">
- Maintainer page
- </a>
- </li>
- <li>
- <a href="https://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=${project.pkg}">
- Bugs
- </a>
- </li>
+ <py:if test="project.pkgstatus == 'new'">
+ <li>
+ <a href="${project.properties['pkg-url']}">
+ Queue entry
+ </a>
+ </li>
+ </py:if>
+ <py:if test="project.pkgstatus != 'new' and project.pkgstatus != 'pkgvcs'">
+ <li>
+ <a href="https://tracker.debian.org/pkg/${project.pkg}">
+ Maintainer page
+ </a>
+ </li>
+ </py:if>
+ <py:if test="project.pkgstatus != 'new' and project.pkgstatus != 'pkgvcs'">
+ <li>
+ <a href="https://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=${project.pkg}">
+ Bugs
+ </a>
+ </li>
+ </py:if>
<py:if test="project.properties['vcs-browser'] != '#'">
<li>
<py:choose>
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list