view gpp/templates/smiley/smiley_farm.html @ 20:c0d0779b266f

Created a template tag for the latest weblinks: latest_weblinks. This necessitated adding a get_absolute_url function for the Link model along with a new view for it.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 20:41:37 +0000
parents dbd703f7d63a
children 3ae999b0c53b
line wrap: on
line source
<div class="smiley_farm">
{% for s in smilies %}
    <img src="{{ s.image.url }}" alt="{{ s.code }}" title="{{ s.title }} {{ s.code }}"
        onclick="sb_smiley_click(' {{ s.code }} ');" />
{% endfor %}
</div>