Update of /cvsroot/openinteract/OpenInteract2/extra_packages/delicious_tags/template
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13491/template
Modified Files:
related_tags.tmpl
Log Message:
display message if no tags found; actually use the URL we generate (duh)
Index: related_tags.tmpl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/extra_packages/delicious_tags/template/related_tags.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** related_tags.tmpl 25 Nov 2004 03:12:56 -0000 1.1
--- related_tags.tmpl 25 Nov 2004 03:54:27 -0000 1.2
***************
*** 1,6 ****
! [% FOREACH tag_count = tag_and_count;
! tagged_objects_url = OI.make_url( ACTION = 'tags',
! TASK = 'show_tagged_objects',
! tag = tag_count.0 ); %]
! o <a href="">[% tag_count.0 %]</a> ([% tag_count.1 %]) <br />
[% END %]
\ No newline at end of file
--- 1,10 ----
! [% IF tag_and_count.size > 0 %]
! [% FOREACH tag_count = tag_and_count;
! tagged_objects_url = OI.make_url( ACTION = 'tags',
! TASK = 'show_tagged_objects',
! tag = tag_count.0 ); %]
! o <a href="[% tagged_objects_url %]">[% tag_count.0 %]</a> ([% tag_count.1 %]) <br />
! [% END %]
! [% ELSE %]
! No related tags.
[% END %]
\ No newline at end of file
|