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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Mar 21 10:18:43 CET 2011


Revision: 13898
          http://gar.svn.sourceforge.net/gar/?rev=13898&view=rev
Author:   wahwah
Date:     2011-03-21 09:18:43 +0000 (Mon, 21 Mar 2011)

Log Message:
-----------
pkgdb-web: Show if error tags are overridden

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

Modified: csw/mgar/gar/v2/lib/web/templates/Srv4Detail.html
===================================================================
--- csw/mgar/gar/v2/lib/web/templates/Srv4Detail.html	2011-03-21 09:08:06 UTC (rev 13897)
+++ csw/mgar/gar/v2/lib/web/templates/Srv4Detail.html	2011-03-21 09:18:43 UTC (rev 13898)
@@ -57,6 +57,7 @@
 
 <h3>Error tags</h3>
 
+<p>Error tags in catalogs.<p>
 <ul>
 $for osrel, arch, catrel, tags_in_cat in tags_and_catalogs:
   $if tags_in_cat:
@@ -66,17 +67,36 @@
     $osrel.short_name
     <ul>
     $for tag in tags_in_cat:
-      <li>$tag</li>
+      <li>
+      $if tag.overridden:
+        <span style="color: gray;">
+      $else:
+        <span style="color: black;">
+      $tag
+      $if tag.overridden:
+        (overridden)
+      </span>
+      </li>
     </ul>
     </li>
 </ul>
+<p>All error tags for this srv4 file.</p>
 <ul>
 $for tag in tags:
   <li>
-  $tag
+  $if tag.overridden:
+    <span style="color: gray;">
+  $else:
+    <span style="color: black;">
+  <a href="http://wiki.opencsw.org/checkpkg-error-tags#$tag.tag_name" title="Information about the $tag.tag_name tag.">$tag.tag_name</a> $tag.tag_info
+  $if tag.overridden:
+    [overridden]
+  <span style="font-size: 80%">
   ($tag.catrel.name
   $tag.arch.name
   $tag.os_rel.short_name)
+  </span>
+  </span>
   </li>
 </ul>
 


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