diff gpp/templates/comments/comment.html @ 14:7b6540b185d9

Added get_absolute_url() for my comments. Had to add a get_absolute_url() function for downloads in the process.
author Brian Neal <bgneal@gmail.com>
date Sat, 18 Apr 2009 19:14:17 +0000
parents dbd703f7d63a
children 82deb8cc59e9
line wrap: on
line diff
--- a/gpp/templates/comments/comment.html	Thu Apr 16 02:00:17 2009 +0000
+++ b/gpp/templates/comments/comment.html	Sat Apr 18 19:14:17 2009 +0000
@@ -2,12 +2,12 @@
 {% load markup %}
 {% load smiley_tags %}
 <li>
-<div class="comment">
+<div class="comment" id="c{{ comment.id }}">
 <div class="comment-avatar">
 <a href="{% url bio-view_profile username=comment.user.username%}">{% avatar comment.user %}</a>
 </div>
 {% if comment.is_removed %}
-<div class="comment-text-removed"><p>This comment has been removed.</p></div>
+<div class="comment-text-removed"><p><em>This comment has been removed.</em></p></div>
 {% else %}
 <div class="comment-text">{{ comment.html|safe }}</div>
 {% endif %}