view gpp/templates/weblinks/link.html @ 6:b6263ac72052

Use DRY principle to manage third party javascript libraries. Created script_tags template tags to generate the correct link and script tags for 3rd party libraries. The settings.py file is the only place where the full path name is specified.
author Brian Neal <bgneal@gmail.com>
date Sat, 11 Apr 2009 22:50:56 +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>