view gpp/templates/weblinks/link.html @ 166:8acf5be27f18

Implement #50, add a template tag to display the latest poll and add to the home page.
author Brian Neal <bgneal@gmail.com>
date Sun, 17 Jan 2010 20:24:01 +0000
parents 952e05cb3d80
children 6a5549c2efb5
line wrap: on
line source
<dt>
<h4>{{ link.title }}</h4>
</dt>
<dd>
<p>{{ link.description }}</p>
<form action="{% url weblinks-visit link.id %}" method="post">
<table class="link-stats">
   <tr>
      <th>Date Added:</th><td>{{ link.date_added|date:"M d, Y" }}</td>
      <th>Hits:</th><td>{{ link.hits }}</td>
      <td>
         <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>
      </td>
   </tr>
   <tr><td><input type="submit" value="Visit Site" /></td></tr>
</table>
</form>
<br />
</dd>