diff gpp/templates/weblinks/link.html @ 3:33f73b7bd305

Adjusted weblinks link template. Use an icon for reporting broken link.
author Brian Neal <bgneal@gmail.com>
date Sat, 11 Apr 2009 18:28:13 +0000
parents dbd703f7d63a
children 952e05cb3d80
line wrap: on
line diff
--- a/gpp/templates/weblinks/link.html	Sat Apr 11 17:57:22 2009 +0000
+++ b/gpp/templates/weblinks/link.html	Sat Apr 11 18:28:13 2009 +0000
@@ -7,10 +7,11 @@
    <tr>
       <th>Date:</th><td>{{ link.date_added|date:"M d, Y" }}</td>
       <th>Hits:</th><td>{{ link.hits }}</td>
+      <td>
+<a href="{% url weblinks.views.report_link link.id %}"><img src="{{ MEDIA_URL }}icons/link_break.png" alt="Broken Link" 
+   title="Report broken link" /></a>
+      </td>
    </tr>
 </table>
-<p>
-   <a href="{% url weblinks.views.report_link link.id %}">Report Broken Link</a>
-</p>
 <br />
 </dd>