misc. template clean (hide RSS link, remove extra whitespace from calendar source
authorTero Marttila <terom@fixme.fi>
Tue, 10 Feb 2009 22:59:52 +0200
changeset 85 0521cf830eb9
parent 84 3c78c9c080e9
child 86 645cf9c4441e
misc. template clean (hide RSS link, remove extra whitespace from calendar source
templates/channel.tmpl
templates/channel_calendar.tmpl
--- a/templates/channel.tmpl	Tue Feb 10 22:59:17 2009 +0200
+++ b/templates/channel.tmpl	Tue Feb 10 22:59:52 2009 +0200
@@ -41,8 +41,9 @@
             <input type="submit" value="Go &raquo;" />
         </form>
     </li>
-
-    <li><a href="#">[RSS]</a></li>
+<!--
+    <li><a href="${h.build_url(urls.channel_last, channel=channel, count=count or None, type='rss')}">[RSS]</a></li>
+-->    
 </ul>
 </%def>
 
--- a/templates/channel_calendar.tmpl	Tue Feb 10 22:59:17 2009 +0200
+++ b/templates/channel_calendar.tmpl	Tue Feb 10 22:59:52 2009 +0200
@@ -26,14 +26,14 @@
         <td>&nbsp;</td>
         % else :
         ## build date
-        <% date = h.build_date(month, day) %>
+        <% date = h.build_date(month, day) %>\
         ## render cell
         <td${' id="today"' if h.is_today(date) else ''}${' class="empty"' if date not in dates else ''}>\
         ## link to logs for this day?
         % if date in dates :
-        <a href="${urls.channel_date.build(req, channel=channel, date=date)}">${day}</a>\
+<a href="${urls.channel_date.build(req, channel=channel, date=date)}">${day}</a>\
         % else :
-        ${day}\
+${day}\
         % endif
 </td>
     % endif