From: Frank Lichtenheld
Date: Sun, 9 Sep 2007 12:28:55 +0000 (+0200)
Subject: html/show.tmpl: Improve the dependency legend
X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=cfd901631e57f7184e96c132817cbb4de0fd7929;p=deb%2Fpackages.git
html/show.tmpl: Improve the dependency legend
Suggested by MJ Ray
Directly imitate the dependency listing in the legend
by using
inside the table cells. This makes the
legend autoadjust to any changes in the CSS for the dependency
listing and mirrors the appearance completly.
---
diff --git a/static/packages.css.sed.in b/static/packages.css.sed.in
index bf44d3d..9e09dd8 100644
--- a/static/packages.css.sed.in
+++ b/static/packages.css.sed.in
@@ -84,6 +84,10 @@ h1 {
list-style-type: none;
}
+#pdeps table ul {
+ margin: 0;
+}
+
#pdeps ul.uldep, #pdeps ul.uladep {
list-style-type: disc;
list-style-image: url(http://%SITE%/Pics/dep.gif);
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 7c7dd17..1d9f655 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -219,12 +219,12 @@ Do not install it on a normal Debian system.