summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/TodoCategories.java
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2011-09-09 17:45:16 +0200
committerDavid A. Madore <david+git@madore.org>2011-09-09 17:45:16 +0200
commit06f6678ad24551ae2c66c3d9db0cbfa6fff6497a (patch)
treef4c17e41c987cfaedc030f6c34e6dcef9908390f /org/madore/damlengine/TodoCategories.java
parentdfc13a2f08bb94dae813b52bc9c129bc7904b66e (diff)
downloaddamlengine-06f6678ad24551ae2c66c3d9db0cbfa6fff6497a.tar.gz
damlengine-06f6678ad24551ae2c66c3d9db0cbfa6fff6497a.tar.bz2
damlengine-06f6678ad24551ae2c66c3d9db0cbfa6fff6497a.zip
Put title attributes on category links.
Diffstat (limited to 'org/madore/damlengine/TodoCategories.java')
-rw-r--r--org/madore/damlengine/TodoCategories.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org/madore/damlengine/TodoCategories.java b/org/madore/damlengine/TodoCategories.java
index 3219e82..cc104e8 100644
--- a/org/madore/damlengine/TodoCategories.java
+++ b/org/madore/damlengine/TodoCategories.java
@@ -45,6 +45,8 @@ public final class TodoCategories extends TodoElement {
String target1URL = ((ctx.gc.uriToTop==null)?"":(ctx.gc.uriToTop+"weblog/"))
+ cat + ".html";
a1.setAttributeNS(null, "href", target1URL);
+ a1.setAttributeNS(null, "title",
+ TodoWeblogSelectionElement.categoryName(cat, lang));
p.appendChild(a1);
a1.appendChild(ctx.doc.createTextNode(cat));
p.appendChild(ctx.doc.createTextNode("("));