[csw-devel] SF.net SVN: gar:[19950] csw/mgar/gar/v2/lib/web/templates/CatalogDetail. html

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Dec 23 13:17:04 CET 2012


Revision: 19950
          http://gar.svn.sourceforge.net/gar/?rev=19950&view=rev
Author:   wahwah
Date:     2012-12-23 12:17:03 +0000 (Sun, 23 Dec 2012)
Log Message:
-----------
pkgdb-web: Display catalogs as a table, not list

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/web/templates/CatalogDetail.html

Modified: csw/mgar/gar/v2/lib/web/templates/CatalogDetail.html
===================================================================
--- csw/mgar/gar/v2/lib/web/templates/CatalogDetail.html	2012-12-23 12:16:13 UTC (rev 19949)
+++ csw/mgar/gar/v2/lib/web/templates/CatalogDetail.html	2012-12-23 12:17:03 UTC (rev 19950)
@@ -9,13 +9,18 @@
   <body>
     <h3>$cat_name</h3>
     <p>$pkgs.count() packages</p>
-    <ul>
+<table>
+  <tr>
+    <th>filename</th>
+    <th>catalogname</th>
+    <th>version</th>
+  </tr>
 $for pkg in pkgs:
-  <li>
-  <a href="../../srv4/$pkg.md5_sum/">
-  $pkg
-  </a>
-  </li>
-</ul>
+  <tr>
+  <td><a href="../../srv4/$pkg.md5_sum/">$pkg.basename</a>
+  <td><a href="../../catalognames/$pkg.catalogname/" title="All packages named '$pkg.catalogname'.">$pkg.catalogname</a></td>
+  <td>$pkg.version_string</td>
+  </tr>
+</table>
 </body>
 </html>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list