[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: r/templates: Remove invisible-anchor css class



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 11619c2fd6d450c3f03adffeb780931e3b1b6fda
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Jul 15 17:49:59 2015 +0200

    r/templates: Remove invisible-anchor css class
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 debian/changelog                     | 5 +++++
 reporting/templates/lintian.css.tmpl | 6 ------
 reporting/templates/maintainer.tmpl  | 2 +-
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6b3f088..9b5c6d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,11 @@ lintian (2.5.34) UNRELEASED; urgency=medium
     + [NT] Remove references to LINTIAN_ROOT as Lintian::Data
       no longer uses it.
 
+  * reporting/templates:
+    + [NT] Remove (uses of) the "invisible-anchor" css class as
+      invisible (display: none) elements cannot be used as
+      anchors.
+
  -- Niels Thykier <niels@thykier.net>  Thu, 09 Jul 2015 21:50:53 +0200
 
 lintian (2.5.33) unstable; urgency=medium
diff --git a/reporting/templates/lintian.css.tmpl b/reporting/templates/lintian.css.tmpl
index a8cfef5..8cd6af9 100644
--- a/reporting/templates/lintian.css.tmpl
+++ b/reporting/templates/lintian.css.tmpl
@@ -431,9 +431,3 @@ div.clear {
     clear: both;
 }
 
-a.invisible-anchor {
-  /*
-    These elements are always empty, but lets make this abundantly clear
-  */
-  display: none;
-}
diff --git a/reporting/templates/maintainer.tmpl b/reporting/templates/maintainer.tmpl
index 5740b04..6812a2b 100644
--- a/reporting/templates/maintainer.tmpl
+++ b/reporting/templates/maintainer.tmpl
@@ -121,7 +121,7 @@
                     if ($first_version) {
                         # Unversioned #<pkg> references just go to the first version.
                         $first_version = 0;
-                        $OUT .= qq( <a class="invisible-anchor" id="${source}"></a>)
+                        $OUT .= qq( <a id="${source}"></a>)
                     }
                     $OUT .= "</h2>\n";
                     $OUT .= qq(   <p class="info-links">\n);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: