(Arne Babenhauserheide)
2012-10-30: add anchors to open and resolved bugs in the listing. write-bug-details-1d631d51ff06b3bdca50e21da3d6a00bcb801c85 add anchors to open and resolved bugs in the listing.
diff --git a/staticsite.py b/staticsite.py --- a/staticsite.py +++ b/staticsite.py @@ -576,11 +576,11 @@ def writebugs(ui, repo, target, name): openbugs, resolvedbugs = getbugs(ui, repo) # write the bugs list bugslist = os.path.join(bugdir, "index.html") - content = "<h2>Open Bugs</h2>\n<ul>" + content = "<h2 id=\"open\">Open Bugs</h2>\n<ul>" for bug in openbugs: content += "<li><a href=\"" + bug.fullid + ".html\">" + bug.shortid + "</a> - " + htmlescape(bug.description) + "</li>\n" content += "</ul>\n" - content += "<h2>Resolved Bugs</h2>\n<ul>" + content += "<h2 id=\"resolved\">Resolved Bugs</h2>\n<ul>" for bug in resolvedbugs: content += "<li><a href=\"" + bug.fullid + ".html\">" + bug.shortid + "</a> - " + htmlescape(bug.description) + "</li>\n" content += "</ul>\n"