[Debtags-commits] [svn] r2202 - web/trunk
Enrico Zini
enrico at alioth.debian.org
Sun Dec 3 20:08:51 CET 2006
Author: enrico
Date: Sun Dec 3 20:08:51 2006
New Revision: 2202
Modified:
web/trunk/main.css
web/trunk/todo.html
Log:
Add the todo comments to the maintainer view
Modified: web/trunk/main.css
==============================================================================
--- web/trunk/main.css (original)
+++ web/trunk/main.css Sun Dec 3 20:08:51 2006
@@ -163,7 +163,16 @@
padding-right: 2em;
font-size: small;
}
-
+div.pkgsugg {
+ font-size: small;
+}
+div.pkgsugg li {
+ list-style-type: none;
+}
+div.pkgsugg li:before {
+ content: "✘ ";
+ color: red;
+}
/*
#atfacets {
float: left;
Modified: web/trunk/todo.html
==============================================================================
--- web/trunk/todo.html (original)
+++ web/trunk/todo.html Sun Dec 3 20:08:51 2006
@@ -20,10 +20,27 @@
b += desc;
b += "<div class='pkgtags'>";
if (curpanel != "nyt")
- b += tags.toString().replace(/(special::not-yet-tagged(::.)?)/g, "<span class='nyt'>$1</span>");
+ b += tags.toString().replace(/(special::not-yet-tagged(::.)?)/g, "<span class='nyt'>✘</span> $1");
else
b += tags.toString();
b += "</div>";
+ if (curpanel == "maint")
+ {
+ // Silence cookie warnings
+ var ohc = hasCookies;
+ hasCookies = true;
+ var comments = commentTagset(p, tags);
+ if (comments.length > 0)
+ {
+ b += "<div class='pkgsugg'>";
+ b += "<ul>";
+ for (var i in comments)
+ b += "<li>" + comments[i] + "</li>\n";
+ b += "</ul>";
+ b += "</div>";
+ }
+ hasCookies = ohc;
+ }
return b;
}
More information about the Debtags-commits
mailing list