view gpp/templates/irc/irc_block.html @ 368:b76af55aafe4

For #176; cache the output of the latest poll block template tag.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Mar 2011 21:00:00 +0000
parents 3cf18e6002dd
children 54cbdef18cf4
line wrap: on
line source
{% extends 'side_block.html' %}
{% block block_title %}IRC Status{% endblock %}
{% block block_content %}
{% if nicks %}
<ul>
   {% for nick in nicks %}
      <li>{{ nick.name }}</li>
   {% endfor %}
</ul>
<p class="centered">Join them in the <a href="irc://surfguitar101.com/ShallowEnd,needpass">#ShallowEnd</a>!</p>
{% else %}
<p class="centered"><a href="irc://surfguitar101.com/ShallowEnd,needpass">#ShallowEnd</a> is empty.</p>
{% endif %}
{% endblock %}