lintian: r1401 - in trunk: debian reporting reporting/templates
Author: djpig
Date: 2008-06-19 23:23:34 +0200 (Thu, 19 Jun 2008)
New Revision: 1401
Modified:
trunk/debian/changelog
trunk/reporting/lintian.css
trunk/reporting/templates/maintainer.tmpl
Log:
* reporting/templates/maintainer.tmpl:
+ Improve info links layout with help from Jord?\195?\160 Polo.
+ Add link to BTS
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-06-19 00:41:13 UTC (rev 1400)
+++ trunk/debian/changelog 2008-06-19 21:23:34 UTC (rev 1401)
@@ -40,7 +40,8 @@
* reporting/templates/tag.tmpl:
+ [FL] Mark overridden tags.
* reporting/templates/maintainer.tmpl:
- + [FL] Add links to p.d.o and PTS for each source package.
+ + [FL] Add useful links for each source package.
+ With layout help by Jordà Polo.
--
Modified: trunk/reporting/lintian.css
===================================================================
--- trunk/reporting/lintian.css 2008-06-19 00:41:13 UTC (rev 1400)
+++ trunk/reporting/lintian.css 2008-06-19 21:23:34 UTC (rev 1401)
@@ -241,10 +241,26 @@
list-style: square;
}
+div.source-header {
+ width: 100%;
+ margin: 1.4em 0 14px 0;
+ padding-bottom: 6px;
+ border-bottom: 2px solid #AAA;
+}
+
+div.source-header p, div.source-header h2 {
+ display: inline;
+ border: none;
+}
+
.info-links {
margin-top: 0;
}
+.info-links:before {
+ content: "– ";
+}
+
/* Tag type */
h2.tag {
Modified: trunk/reporting/templates/maintainer.tmpl
===================================================================
--- trunk/reporting/templates/maintainer.tmpl 2008-06-19 00:41:13 UTC (rev 1400)
+++ trunk/reporting/templates/maintainer.tmpl 2008-06-19 21:23:34 UTC (rev 1401)
@@ -59,12 +59,16 @@
my $new_binary = $info->{package} ne $binary if $is_binary;
if ($first) {
- $OUT .= qq( <h2 id="$source">);
+ $OUT .= qq( <div class="source-header">\n);
+ $OUT .= qq( <h2 id="$source">);
$OUT .= "$source ($version)";
$OUT .= " [Uploader]" if $upload;
$OUT .= "</h2>\n";
- $OUT .= qq(<p class="info-links"><a href="http://packages.debian.org/src:$source">Info</a>\n);
- $OUT .= qq( <a href="http://packages.qa.debian.org/$source">PTS</a></p>);
+ $OUT .= qq( <p class="info-links">\n);
+ $OUT .= qq( <a href="http://packages.debian.org/src:$source">Info</a>\n);
+ $OUT .= qq( <a href="http://packages.qa.debian.org/$source">PTS</a>\n);
+ $OUT .= qq( <a href="http://bugs.debian.org/src:$source">Bugs</a>\n);
+ $OUT .= qq( </p>\n </div>\n);
$OUT .= qq( <ul class="report">\n) unless $is_binary;
}
Reply to: