templates/channel_last.tmpl
author Tero Marttila <terom@fixme.fi>
Wed, 11 Feb 2009 21:50:03 +0200
changeset 108 d0aca7894fc5
parent 80 a0662cff1d9d
child 114 d4848d807fd1
permissions -rw-r--r--
split out helpers._render_type, and add support for ?type= to various other handlers... still needs more work, though
<%inherit file="channel.tmpl" />

<div id="title">${channel.title} :: Last ${count} lines</div>

<a href="${h.build_url(urls.channel_last, channel=channel, count=count+50)}" class='more-link'>...More...</a>
<%include file="lines.tmpl" />

<div id="other-formats">
    Other formats available:<br/>
        <a href="${h.build_url(urls.channel_last, channel=channel, count=count, type='txt')}">Plaintext</a>
    |   <a href="${h.build_url(urls.channel_last, channel=channel, count=count, type='png')}">PNG</a>
    |   <a href="${h.build_url(urls.channel_last, channel=channel, count=count, type='rss')}">RSS</a>
</div>