Mercurial > public > sg101
view gpp/templates/weblinks/link.html @ 212:fad7548b7f6e
Fix #80: give moderators the ability to deactivate users for spam.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 09 May 2010 20:53:34 +0000 |
parents | 0e7c7231dea9 |
children | 7e8d2dda99e3 |
line wrap: on
line source
<dt> <h4><a href="{{ link.url }}">{{ link.title }}</a></h4> </dt> <dd> <p>{{ link.description }}</p> <form action="{% url weblinks-visit link.id %}" method="post">{% csrf_token %} <table class="link-stats"> <tr> <th>Added by:</th><td><a href="{% url bio-view_profile link.user.username %}">{{ link.user.username }}</a></td> </tr> <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>