annotate gpp/templates/weblinks/link.html @ 198:7e3ed3eb9b99

Fix #71: problems with editing existing gcalendar dates; the date format wasn't what the datepicker expected.
author Brian Neal <bgneal@gmail.com>
date Sun, 11 Apr 2010 17:58:09 +0000
parents 6a5549c2efb5
children 0e7c7231dea9
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@194 6 <form action="{% url weblinks-visit link.id %}" method="post">{% csrf_token %}
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>