Mercurial > public > sg101
view gpp/templates/weblinks/link.html @ 337:b4f0980506e0 rollout
Working around a strange CSS problem when bulletins are active. This should probably be investigated later.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 26 Feb 2011 06:46:28 +0000 |
parents | 88b2b9cb8c1f |
children | 3c48a555298d |
line wrap: on
line source
{% load url from future %} <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> <th>Category:</th><td><a href="{% url 'weblinks-view_links' slug=link.category.slug sort='date' %}">{{ link.category.title }}</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="{{ STATIC_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>