rev 1964 - in trunk/buscador/templates: custom entity list mail

[prev] [thread] [next] [lurker] [Date index for 2005/05/23]

From: simon
Subject: rev 1964 - in trunk/buscador/templates: custom entity list mail
Date: 12:02 on 23 May 2005
Author: simon
Date: 2005-05-23 12:02:53 +0100 (Mon, 23 May 2005)
New Revision: 1964

Modified:
   trunk/buscador/templates/custom/header
   trunk/buscador/templates/entity/view
   trunk/buscador/templates/list/view
   trunk/buscador/templates/mail/lurker
   trunk/buscador/templates/mail/recent
   trunk/buscador/templates/mail/thread
Log:
Add Atom feed relative links


Modified: trunk/buscador/templates/custom/header
===================================================================
--- trunk/buscador/templates/custom/header	2005-02-25 15:50:21 UTC (rev 1963)
+++ trunk/buscador/templates/custom/header	2005-05-23 11:02:53 UTC (rev 1964)
@@ -5,6 +5,9 @@
     <meta http-equiv="Content-Language" content="en" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <link rel="stylesheet" title="myStyle" href="[% config.img_base %]/buscador.css" type="text/css" />
+    [% IF atom -%]
+    <link rel="alternate" type="application/atom+xml" title="[% (title || "Buscador") | html %]" href="[% base | remove('/$') %]/[% atom | remove ('^/') %]" />
+    [%- END %]
 </head>
 <body>
 <div class="logo"><a href="[% base %]"><img src="[% config.img_base | replace('/$') %]/buscador.gif" style="border: 0;" width="216" height="78" alt="Buscador" /></a></div>

Modified: trunk/buscador/templates/entity/view
===================================================================
--- trunk/buscador/templates/entity/view	2005-02-25 15:50:21 UTC (rev 1963)
+++ trunk/buscador/templates/entity/view	2005-05-23 11:02:53 UTC (rev 1964)
@@ -1,4 +1,4 @@
-[% PROCESS header title = entity.most_common_name.name %]
+[% PROCESS header title=entity.most_common_name.name atom="entity/atom/$entity.id" %]
 [% PROCESS macros %]
 
 [% SET names = entity.names.unique %]

Modified: trunk/buscador/templates/list/view
===================================================================
--- trunk/buscador/templates/list/view	2005-02-25 15:50:21 UTC (rev 1963)
+++ trunk/buscador/templates/list/view	2005-05-23 11:02:53 UTC (rev 1964)
@@ -1,4 +1,4 @@
-[% INCLUDE header title = list.name %]
+[% INCLUDE header title = list.name atom="list/atom/$list.id" %]
 [% PROCESS macros %]
 <h1>[% list.name %]</h1>
 

Modified: trunk/buscador/templates/mail/lurker
===================================================================
--- trunk/buscador/templates/mail/lurker	2005-02-25 15:50:21 UTC (rev 1963)
+++ trunk/buscador/templates/mail/lurker	2005-05-23 11:02:53 UTC (rev 1964)
@@ -1,4 +1,4 @@
-[% PROCESS header title="$subject - Chronological View" %]
+[% PROCESS header title="$subject - Chronological View" atom="mail/thread/atom/$mail.id" %]
 [% PROCESS macros %]
 [% PROCESS view_macros %]
 

Modified: trunk/buscador/templates/mail/recent
===================================================================
--- trunk/buscador/templates/mail/recent	2005-02-25 15:50:21 UTC (rev 1963)
+++ trunk/buscador/templates/mail/recent	2005-05-23 11:02:53 UTC (rev 1964)
@@ -1,4 +1,4 @@
-[% INCLUDE header %]
+[% INCLUDE header atom="mail/atom"  %]
 [% PROCESS macros %]
 <h1>Recent mail</h1>
 

Modified: trunk/buscador/templates/mail/thread
===================================================================
--- trunk/buscador/templates/mail/thread	2005-02-25 15:50:21 UTC (rev 1963)
+++ trunk/buscador/templates/mail/thread	2005-05-23 11:02:53 UTC (rev 1964)
@@ -1,4 +1,4 @@
-[%- PROCESS header title="Thread view" -%]
+[%- PROCESS header title="Thread view" atom="mail/thread/atom/$mail.id" -%]
 [%- PROCESS macros -%]
 [%- PROCESS view_macros -%]
 

Generated at 13:00 on 23 May 2005 by mariachi 0.52