[Blends-commit] [SCM] website branch, master, updated. 5df9e443725c657a2210bed3c2801ed6a4f608bc

Ole Streicher olebole at debian.org
Sun Dec 13 11:57:03 UTC 2015


The following commit has been merged in the master branch:
commit 5df9e443725c657a2210bed3c2801ed6a4f608bc
Author: Ole Streicher <olebole at debian.org>
Date:   Sun Dec 13 12:56:58 2015 +0100

    Dont link to homepage if link is empty

diff --git a/webtools/templates/packages.xhtml b/webtools/templates/packages.xhtml
index df33567..528dae8 100644
--- a/webtools/templates/packages.xhtml
+++ b/webtools/templates/packages.xhtml
@@ -530,7 +530,7 @@ function show_fulldesc(hash) {
 			</py:if>
 		      </ul>
 		    </dd>
-		    <py:if test="'homepage' in project.properties">
+		    <py:if test="'homepage' in project.properties and project.properties['homepage'] not in (None, '', '#')">
 		      <dt>Upstream</dt>
 		      <dd>
 			<ul class="desc-inline">

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list