summaryrefslogtreecommitdiff
path: root/root
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2005-10-25 13:01:24 +0000
committerdakkar <dakkar@luxion>2005-10-25 13:01:24 +0000
commit49618f03be76614f011e420fae0399150a1e0d6a (patch)
treee8e31ba69060949841a5cc2876a883639ac5d279 /root
parent r704@narval2: dakkar | 2005-10-21 16:58:52 +0200 (diff)
downloadBookmarks-49618f03be76614f011e420fae0399150a1e0d6a.tar.gz
Bookmarks-49618f03be76614f011e420fae0399150a1e0d6a.tar.bz2
Bookmarks-49618f03be76614f011e420fae0399150a1e0d6a.zip
r705@narval2: dakkar | 2005-10-21 18:39:41 +0200
workaround per bug in CDBI::Loader: 'use LinksTags' esplicito in Links ora mostra tag correlati
Diffstat (limited to 'root')
-rw-r--r--root/links10
1 files changed, 9 insertions, 1 deletions
diff --git a/root/links b/root/links
index 7aac7ae..62321c7 100644
--- a/root/links
+++ b/root/links
@@ -4,9 +4,17 @@
</head>
<body>
<p>Tag: [% tag.name %] ( [% tag.descr %] )</p>
+<p>Related:</p>
+<ul>
+[% FOR rtag IN related %]
+<li><a href="[% base _ 'tag/' _ rtag.name %]">[% rtag.name %]</a></li>
+[% END %]
+</ul>
+<p>Links:</p>
<ol>
[% FOR link IN links %]
-<li><img src="[% base _ 'icon?link=' _ link.pk %]" /> <a href="[% base _ 'jump?link=' _ link.pk %]">»[% link.title %]«</a> (creato: [% link.add_date() %])</li>
+<li><img src="[% base _ 'icon?link=' _ link.pk %]" /> <a href="[% base _ 'jump?link=' _ link.pk %]">»[% link.title %]«</a> (creato: [% link.add_date() %])
+[% FOR rtag IN link.tags %] <a href="[% base _ 'tag/' _ rtag.name %]">[% rtag.name %]</a> - [% END %]</li>
[% END %]
</ol>
</body>