Mercurial > public > sg101
view gpp/templates/weblinks/link.html @ 160:2eb3984ccb15
Implement #45, add a who's online feature for the forums. Created middleware that caches usernames and guest session ids in the cache. Added a tag that displays this info.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 22 Dec 2009 02:08:05 +0000 |
parents | 33f73b7bd305 |
children | 952e05cb3d80 |
line wrap: on
line source
<dt> <a href="{% url weblinks.views.visit link.id %}" target="_blank">{{ link.title }}</a> </dt> <dd> <p>{{ link.description }}</p> <table class="link-stats"> <tr> <th>Date:</th><td>{{ link.date_added|date:"M d, Y" }}</td> <th>Hits:</th><td>{{ link.hits }}</td> <td> <a href="{% url weblinks.views.report_link link.id %}"><img src="{{ MEDIA_URL }}icons/link_break.png" alt="Broken Link" title="Report broken link" /></a> </td> </tr> </table> <br /> </dd>