annotate gpp/templates/weblinks/link.html @ 190:0e4961833cdf

Added some select_related's to downloads.
author Brian Neal <bgneal@gmail.com>
date Thu, 01 Apr 2010 01:57:01 +0000
parents 952e05cb3d80
children 6a5549c2efb5
rev   line source
gremmie@1 1 <dt>
bgneal@165 2 <h4>{{ link.title }}</h4>
gremmie@1 3 </dt>
gremmie@1 4 <dd>
gremmie@1 5 <p>{{ link.description }}</p>
bgneal@165 6 <form action="{% url weblinks-visit link.id %}" method="post">
gremmie@1 7 <table class="link-stats">
gremmie@1 8 <tr>
bgneal@165 9 <th>Date Added:</th><td>{{ link.date_added|date:"M d, Y" }}</td>
gremmie@1 10 <th>Hits:</th><td>{{ link.hits }}</td>
bgneal@3 11 <td>
bgneal@165 12 <a href="#" class="weblinks-broken" id="link-{{ link.id }}"><img src="{{ MEDIA_URL }}icons/link_break.png" alt="Broken Link" title="Report this link as broken" /></a>
bgneal@3 13 </td>
gremmie@1 14 </tr>
bgneal@165 15 <tr><td><input type="submit" value="Visit Site" /></td></tr>
gremmie@1 16 </table>
bgneal@165 17 </form>
gremmie@1 18 <br />
gremmie@1 19 </dd>