[Blends-commit] [SCM] website branch, master, updated. 2b8283fbcdc53a2992d0ac2f4db0ca726875521d

Ole Streicher debian at liska.ath.cx
Fri Dec 11 08:34:23 UTC 2015


The following commit has been merged in the master branch:
commit 2b8283fbcdc53a2992d0ac2f4db0ca726875521d
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Fri Dec 11 09:34:18 2015 +0100

    Show bugs, maintainer page and improvements only for Debian packages

diff --git a/webtools/templates/packages.xhtml b/webtools/templates/packages.xhtml
index c6d3898..df33567 100644
--- a/webtools/templates/packages.xhtml
+++ b/webtools/templates/packages.xhtml
@@ -498,14 +498,14 @@ function show_fulldesc(hash) {
 			    <a href="${project.properties['pkg-url']}">NEW entry</a>
 			  </li>
 			</py:if>
-			<py:if test="project.pkgstatus != 'new' and project.pkgstatus != 'pkgvcs'">
+			<py:if test="project.pkgstatus in ('official_high', 'official_low', 'non-free', 'experimental')">
 			  <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'">
+			<py:if test="project.pkgstatus in ('official_high', 'official_low', 'non-free', 'experimental')">
 			  <li>
 			    <a href="https://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=${project.pkg}">
 			      Bugs
@@ -555,10 +555,9 @@ function show_fulldesc(hash) {
 		      </dd>
 		    </py:if>
 		    <py:if test="project.component == 'main'
-				 and project.pkgstatus != 'new'
-				 and project.pkgstatus != 'pkgvcs'
+				 and project.pkgstatus in ('official_high', 'official_low', 'experimental')
 				 and (not project.icon or not project.debtags 
-				 or (lang != 'en' and lang not in project.desc))">
+				      or (lang != 'en' and lang not in project.desc))">
 		      <dt>Improve entry</dt>
 		      <dd>
 			<ul class="desc-inline">

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list