templates/lines.tmpl
changeset 72 5ade0288f2ec
parent 70 72edbbb414a7
--- a/templates/lines.tmpl	Mon Feb 09 14:07:19 2009 +0200
+++ b/templates/lines.tmpl	Mon Feb 09 22:17:10 2009 +0200
@@ -1,5 +1,13 @@
+<% formatter = prefs['formatter'] %>
+
 <div id="lines">
-% for index, line in enumerate(lines):
-${line}
+% if formatter.html_fixedwidth :
+<pre>
+% endif
+% for line, html in lines:
+<a href="${h.build_url(urls.channel_link, channel=channel, timestamp=line.timestamp)}#${h.utc_timestamp(line.timestamp)}" id="${h.utc_timestamp(line.timestamp)}">&raquo;&raquo; </a>${html}
 % endfor
+% if formatter.html_fixedwidth :
+</pre>
+% endif
 </div>