Author: djpig
Date: 2008-06-19 02:13:41 +0200 (Thu, 19 Jun 2008)
New Revision: 1397

Modified:
   trunk/reporting/templates/tag.tmpl
Log:
Another bug in previous patch: Don't lose the last package's info.


Modified: trunk/reporting/templates/tag.tmpl
===================================================================
--- trunk/reporting/templates/tag.tmpl  2008-06-18 23:40:36 UTC (rev 1396)
+++ trunk/reporting/templates/tag.tmpl  2008-06-19 00:13:41 UTC (rev 1397)
@@ -43,6 +43,13 @@
            $tag .= "$info->{extra}</li>\n";
        }
     }
-    $OUT .= "  </ul>\n";
+    if ($tag) {
+       my $overridden = $has_nonoverridden ? '' : qq{<span 
class="type-O">O</span> };
+       $OUT .= qq(  <h2 class="tag">$overridden<a 
href="../full/$last->{xref}">);
+       $OUT .= "$last->{package}</a> ($last->{type})</h2>\n";
+               $OUT .= qq(  <ul class="tag">\n);
+        $OUT .= $tag;
+        $OUT .= "</ul>\n";
+    }
 }
 { foot() }


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to