rev 1912 - trunk/buscador/templates/date

[prev] [thread] [next] [lurker] [Date index for 2005/02/18]

From: simon
Subject: rev 1912 - trunk/buscador/templates/date
Date: 17:04 on 18 Feb 2005
Author: simon
Date: 2005-02-18 17:04:43 +0000 (Fri, 18 Feb 2005)
New Revision: 1912

Modified:
   trunk/buscador/templates/date/list
   trunk/buscador/templates/date/month
Log:
Bit of usability


Modified: trunk/buscador/templates/date/list
===================================================================
--- trunk/buscador/templates/date/list	2005-02-18 17:04:31 UTC (rev 1911)
+++ trunk/buscador/templates/date/list	2005-02-18 17:04:43 UTC (rev 1912)
@@ -1,10 +1,17 @@
-[% SET title = date.strftime("%Y-%m-%d") %]
+[%- SET day   = date.strftime("%A" ); 
+    SET ord   = ordinate(date.strftime("%e"));
+    SET rest  = date.strftime("%B, %Y");
+    SET title = "$day the $ord of $rest"; 
+-%]
 [% INCLUDE header title="Mails for $title" %]
 [% PROCESS macros %]
 <h1>Mails for [% title %]</h1>
 
 [% INCLUDE searchbox %]
 
+<p style="text-align: center"><a href="[% base %]/date/view/[% date.strftime("%Y") %]/[% date.strftime("%m") %]">See the whole of <b>[% date.strftime("%B %Y") %]</b></a></p>
+
+
 [% FOR mail = mails %]
     [% summary(mail); %]
 [% END %]

Modified: trunk/buscador/templates/date/month
===================================================================
--- trunk/buscador/templates/date/month	2005-02-18 17:04:31 UTC (rev 1911)
+++ trunk/buscador/templates/date/month	2005-02-18 17:04:43 UTC (rev 1912)
@@ -22,7 +22,7 @@
 
 <div style="text-align: center;">
 
-<p><a href="[% base %]/date/view/[% date.strftime("%Y") %]"><b>[% date.strftime("%Y") %]</b></a></p>
+<p><a href="[% base %]/date/view/[% date.strftime("%Y") %]"><b>See the whole of [% date.strftime("%Y") %]</b></a></p>
 
 <table border="0" class="calendar" cellpadding="1" cellspacing="2">
 <tr style="height: 83px;">

Generated at 18:00 on 18 Feb 2005 by mariachi 0.52