diff options
author | Ugnich Anton | 2014-04-26 17:32:09 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-04-26 17:32:09 +0700 |
commit | 1c553475725f6e1145c0bf4acdcf647a979b3765 (patch) | |
tree | 7c57c78f1b424476f5e72be4c6db07ef61f86cf7 /src/java | |
parent | 0b3c15851c0fbad3ee63cf0df298186a26d2a462 (diff) |
Link to all message with tag
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/com/juick/http/www/User.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java index abe96759..7ce89895 100644 --- a/src/java/com/juick/http/www/User.java +++ b/src/java/com/juick/http/www/User.java @@ -127,6 +127,11 @@ public class User { if (mids.size() > 0) { out.println("<section id=\"content\">"); + + if (paramTag != null) { + out.println("<p class=\"page\"><a href=\"/tag/" + URLEncoder.encode(paramTag.Name, "UTF-8") + "\">← Все записи с тегом <b>" + Utils.encodeHTML(paramTag.Name) + "</b></a></p>"); + } + PageTemplates.printMessages(out, sql, user, mids, visitor, visitor == null ? 4 : 5, 0); if (mids.size() >= 20) { |