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

Ole Streicher debian at liska.ath.cx
Wed Dec 16 08:32:34 UTC 2015


The following commit has been merged in the master branch:
commit 583252334a31233451bdc092b557f16a68d8f85d
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Dec 16 09:32:26 2015 +0100

    Add hint to click on package name to view details

diff --git a/webtools/templates/packages.xhtml b/webtools/templates/packages.xhtml
index 528dae8..36f205a 100644
--- a/webtools/templates/packages.xhtml
+++ b/webtools/templates/packages.xhtml
@@ -196,12 +196,6 @@ function show_fulldesc(hash) {
 	</p>
       </div><!-- end header -->
       <div id="content">
-	<p>
-	  <small>
-	    <a href="#all" onclick="show_fulldesc('#all');">Show all details</a>
-	    - <a href="#" onclick="show_fulldesc('#');">Hide all details</a>
-	  </small>
-	</p>
 	<h1>
 	  $projectname ${tasks[task].metapkg.PrintedName.capitalize()} packages
 	</h1>
@@ -231,6 +225,11 @@ function show_fulldesc(hash) {
 	    ${tasks[task].metapkg.desc['en']['long']}
 	  </py:otherwise>
 	</py:choose>
+	<ul class="desc-inline">
+	  <li>For details of one package, click on package name or description</li>
+	  <li><a href="#all" onclick="show_fulldesc('#all');">Show all details</a></li>
+	  <li><a href="#" onclick="show_fulldesc('#');">Hide all details</a></li>
+	</ul>
 	<table width="90%">
 	  <py:for each="pstatus in dependencies[task]">
 	    <tr>

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list