Mercurial > public > sg101
comparison gpp/templates/weblinks/link.html @ 209:0e7c7231dea9
Fix #75; weblinks should have an <a> tag for search engines.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 05 May 2010 03:24:14 +0000 |
parents | 6a5549c2efb5 |
children | 7e8d2dda99e3 |
comparison
equal
deleted
inserted
replaced
208:2022c0409296 | 209:0e7c7231dea9 |
---|---|
1 <dt> | 1 <dt> |
2 <h4>{{ link.title }}</h4> | 2 <h4><a href="{{ link.url }}">{{ link.title }}</a></h4> |
3 </dt> | 3 </dt> |
4 <dd> | 4 <dd> |
5 <p>{{ link.description }}</p> | 5 <p>{{ link.description }}</p> |
6 <form action="{% url weblinks-visit link.id %}" method="post">{% csrf_token %} | 6 <form action="{% url weblinks-visit link.id %}" method="post">{% csrf_token %} |
7 <table class="link-stats"> | 7 <table class="link-stats"> |
8 <tr> | |
9 <th>Added by:</th><td><a href="{% url bio-view_profile link.user.username %}">{{ link.user.username }}</a></td> | |
10 </tr> | |
8 <tr> | 11 <tr> |
9 <th>Date Added:</th><td>{{ link.date_added|date:"M d, Y" }}</td> | 12 <th>Date Added:</th><td>{{ link.date_added|date:"M d, Y" }}</td> |
10 <th>Hits:</th><td>{{ link.hits }}</td> | 13 <th>Hits:</th><td>{{ link.hits }}</td> |
11 <td> | 14 <td> |
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> | 15 <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> |