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

Ole Streicher olebole at debian.org
Wed Nov 25 11:48:51 UTC 2015


The following commit has been merged in the master branch:
commit be709b8ba5a61ac9057c51382c76b80da7589d29
Author: Ole Streicher <olebole at debian.org>
Date:   Wed Nov 25 12:48:48 2015 +0100

    Create specific header for Debian Astro

diff --git a/webtools/templates/tasks_idx.xhtml b/webtools/templates/tasks_idx.xhtml
index 9be4f8d..541db4d 100644
--- a/webtools/templates/tasks_idx.xhtml
+++ b/webtools/templates/tasks_idx.xhtml
@@ -25,18 +25,25 @@
 	  <p class="section">Pure Blend</p>
 	</div>
 	<div id="navbar">
-	  <ul> 
-	    <li><a href="$projecturl">$projectname</a></li>
-	    <!--
-	    <li><a href="../tasks">Packages</a></li>
+	  <span py:choose="">
+	    <span py:when="projectname == 'Debian Astro'">
+	      <ul>
+		<li><a href="$projecturl">$projectname</a></li>
+		<li><a href="../tasks">Packages</a></li>
 		<li><a href="../contact.html">Contact</a></li>
-	    <li><a href="../contribute.html">Contribute</a></li>
-	    -->
-	    <li><a href="../tasks">Tasks</a></li>
-	    <li><a href="../bugs/">Bugs</a></li>
-	    <li><a href="../thermometer/">Thermometer</a></li>
-	    <li><a href="../maintstats/">Maintainer Stats</a></li>
-	  </ul>
+		<li><a href="../contribute.html">Contribute</a></li>
+	      </ul>
+	    </span>
+	    <span py:otherwise="">
+	      <ul>
+		<li><a href="$projecturl">$projectname</a></li>
+		<li><a href="../tasks">Tasks</a></li>
+		<li><a href="../bugs/">Bugs</a></li>
+		<li><a href="../thermometer/">Thermometer</a></li>
+		<li><a href="../maintstats/">Maintainer Stats</a></li>
+	      </ul>
+	    </span>
+	  </span>
 	</div>
       <p id="breadcrumbs">
 	<a href="http://blends.debian.org">Debian Pure Blends</a>

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list