[prev] [thread] [next] [lurker] [Date index for 2005/02/15]
Author: simon Date: 2005-02-15 12:08:27 +0000 (Tue, 15 Feb 2005) New Revision: 1880 Modified: trunk/buscador/templates/entity/view trunk/buscador/templates/list/view trunk/buscador/templates/macros trunk/buscador/templates/mail/lurker trunk/buscador/templates/mail/recent trunk/buscador/templates/mail/thread Log: Make atom link a macro Modified: trunk/buscador/templates/entity/view =================================================================== --- trunk/buscador/templates/entity/view 2005-02-15 10:31:44 UTC (rev 1879) +++ trunk/buscador/templates/entity/view 2005-02-15 12:08:27 UTC (rev 1880) @@ -32,5 +32,5 @@ [% mails_by_addressing(entity) %] -<a href="[%base|remove('/$')%]/entity/atom/[% entity.id %]"><img src="[% config.img_base %]/atom.gif"></a> +[% make_atom("entity/atom/[% entity.id %]") %] [% INCLUDE footer %] Modified: trunk/buscador/templates/list/view =================================================================== --- trunk/buscador/templates/list/view 2005-02-15 10:31:44 UTC (rev 1879) +++ trunk/buscador/templates/list/view 2005-02-15 12:08:27 UTC (rev 1880) @@ -24,5 +24,5 @@ </P> [% END %] -<a href="[%base|remove('/$')%]/list/atom/[% list.id %]"><img src="[% config.img_base %]/atom.gif"></a> +[% make_atom("list/atom/[% list.id %]") %] [% INCLUDE footer %] Modified: trunk/buscador/templates/macros =================================================================== --- trunk/buscador/templates/macros 2005-02-15 10:31:44 UTC (rev 1879) +++ trunk/buscador/templates/macros 2005-02-15 12:08:27 UTC (rev 1880) @@ -7,6 +7,10 @@ HREF="[%base | remove('/$')%]/address/view/[%addr.id%]">[%addr.address%]</A> [% END; %] +[% MACRO make_atom(url) BLOCK; %] + <div class="atom"><a href="[% base | remove('/$') %]/[% url | remove ('^/') %]"><img src="[% config.img_base %]/atompixel.png" border="0" width="80" height="15"></a></div> +[% END %] + [% MACRO show_lists(mail) BLOCK; %] <SPAN CLASS="lists"> [% FOR list = mail.lists %] @@ -59,7 +63,7 @@ [% addressing.role %] </TD> <TD> -[% addressing.name.name %] ([% addressing.address.address %]) +[% addressing.name.name | html %] ([% addressing.address.address | html %]) </TD> </TR> <TD> </TD><TD> Modified: trunk/buscador/templates/mail/lurker =================================================================== --- trunk/buscador/templates/mail/lurker 2005-02-15 10:31:44 UTC (rev 1879) +++ trunk/buscador/templates/mail/lurker 2005-02-15 12:08:27 UTC (rev 1880) @@ -67,6 +67,7 @@ </div> -<a href="[%base|remove('/$')%]/mail/thread/atom/[% mail.id %]"><img src="[% config.img_base %]/atom.gif"></a> +[% make_atom("mail/thread/atom/$mail.id") %] + [% INCLUDE footer %] Modified: trunk/buscador/templates/mail/recent =================================================================== --- trunk/buscador/templates/mail/recent 2005-02-15 10:31:44 UTC (rev 1879) +++ trunk/buscador/templates/mail/recent 2005-02-15 12:08:27 UTC (rev 1880) @@ -18,6 +18,6 @@ [% END %] -<a href="[%base|remove('/$')%]/mail/atom"><img src="[% config.img_base %]/atom.gif"></a> +[% make_atom("mail/atom") %] [% INCLUDE footer %] Modified: trunk/buscador/templates/mail/thread =================================================================== --- trunk/buscador/templates/mail/thread 2005-02-15 10:31:44 UTC (rev 1879) +++ trunk/buscador/templates/mail/thread 2005-02-15 12:08:27 UTC (rev 1880) @@ -13,6 +13,6 @@ [%- INCLUDE display_thread_rec thread=thread depth=0 -%] </ul> -<a href="[%base|remove('/$')%]/mail/thread/atom/[% mail.id %]"><img src="[% config.img_base %]/atom.gif"></a> +[% make_atom("mail/thread/atom/$mail.id") %] [% INCLUDE footer %]
Generated at 13:00 on 15 Feb 2005 by mariachi 0.52