[Pkg-ocaml-maint-commits] r3992 - in /trunk/tools/ocaml-debian-status: debian-ocaml-status.genshi ocaml-status.css

zack at users.alioth.debian.org zack at users.alioth.debian.org
Thu Jul 12 15:57:16 UTC 2007


Author: zack
Date: Thu Jul 12 15:57:16 2007
New Revision: 3992

URL: http://svn.debian.org/wsvn/?sc=1&rev=3992
Log:
- added showing 'excuses' link for packages in unstable, not yet migrated to testing
- better structure for the Genshi template, removed the need of div/span inside cells

Modified:
    trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi
    trunk/tools/ocaml-debian-status/ocaml-status.css

Modified: trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi
URL: http://svn.debian.org/wsvn/trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi?rev=3992&op=diff
==============================================================================
--- trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi (original)
+++ trunk/tools/ocaml-debian-status/debian-ocaml-status.genshi Thu Jul 12 15:57:16 2007
@@ -21,14 +21,14 @@
         <span class="inTesting">in testing</span>,
         <span class="inUnstable">in unstable</span>,
 	<span class="inExperimental">in experimental</span>. <br />
-	<small> (Note that the table below looks at packages along the axis of
-	  the corresponding OCaml version; this is for the sake of monitoring
-	  transitions between binary-incompatible OCaml versions. For each
-	  OCaml version and for each package in the archive, only the "best"
-	  version, i.e. that nearer to a release, is reported. So, for example,
-	  packages in unstable are not reported if they have a preceding
-	  version in testing which have been built against the same OCaml
-	  version. Messy? :-)) </small>
+	<small> (<strong>Note:</strong> the table below looks at packages along
+	  the axis of the corresponding OCaml version; this is for the sake of
+	  monitoring transitions between binary-incompatible OCaml versions.
+	  For each OCaml version and for each package in the archive, only the
+	  "best" version, i.e. the one nearest to a release, is reported. So,
+	  for instance, packages in unstable are not reported if they have a
+	  former version in testing which have been built against the same
+	  OCaml version. Messy? :-)) </small>
       </p>
     </div>
 
@@ -43,28 +43,27 @@
           </tr>
         </thead>
         <tbody>
-          <tr py:for="(src, ocaml_versions) in packages">
-            <td>
-              <a href="http://packages.qa.debian.org/${src}"><span
-                  class="package" py:content="src">pkg</span></a>
-            </td>
-            <td py:for="versions in ocaml_versions" py:choose="">
-              <span py:when="versions is None"></span>
-              <span py:when="versions.has_key('testing')" class="inTesting"
-                py:content="versions['testing']">
-                (testing) x.y.z
-              </span>
-              <span py:when="versions.has_key('unstable')" class="inUnstable"
-                py:content="versions['unstable']">
-                (unstable) x.y.z
-              </span>
-              <span py:when="versions.has_key('experimental')"
-                class="inExperimental"
-                py:content="versions['experimental']">
-                (experimental) x.y.z
-              </span>
-              <span py:otherwise="">(?)</span>
-            </td>
+	  <tr py:for="(src, ocaml_versions) in packages"
+	      py:choose="">
+	    <td>
+	      <a href="http://packages.qa.debian.org/${src}"><span
+		  class="package" py:content="src">pkg</span></a>
+	    </td>
+	    <py:for each="versions in ocaml_versions" py:choose="">
+	      <td py:when="versions is None" class="none"></td>
+	      <td py:when="versions.has_key('testing')" class="inTesting">
+		<span py:content="versions['testing']">x.y.z (testing)</span>
+	      </td>
+	      <td py:when="versions.has_key('unstable')" class="inUnstable">
+		<span py:content="versions['unstable']">x.y.z (unstable)</span>
+		<br />
+		<small>[<a href="http://bjorn.haxx.se/debian/testing.pl?package=${src}">excuses</a>]</small>
+	      </td>
+	      <td py:when="versions.has_key('experimental')" class="inExperimental">
+		<span py:content="versions['experimental']">x.y.z (experimental)</span>
+	      </td>
+	      <td py:otherwise="" class="error">(?)</td>
+	    </py:for>
           </tr>
         </tbody>
       </table>

Modified: trunk/tools/ocaml-debian-status/ocaml-status.css
URL: http://svn.debian.org/wsvn/trunk/tools/ocaml-debian-status/ocaml-status.css?rev=3992&op=diff
==============================================================================
--- trunk/tools/ocaml-debian-status/ocaml-status.css (original)
+++ trunk/tools/ocaml-debian-status/ocaml-status.css Thu Jul 12 15:57:16 2007
@@ -35,6 +35,3 @@
   border-style: solid;
   border-width: 1px;
 }
-div.status table span {
-  display: block;
-}




More information about the Pkg-ocaml-maint-commits mailing list