comments were being id's by name not username, we didn't mean to make name public

pull/1/head
eric 2012-03-29 01:22:38 -04:00
parent 4d9e279862
commit 57a1c60903
4 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ comments rss?
<div class="image">
<a href="{% url work id %}?tab=2"><img src="{{ comment.content_object.cover_image_thumbnail }}" alt="cover image" /></a>
</div>
<span><a href="{% url supporter supporter_username=user %}">{{ comment.name }}</a> on <a href="{% url work id %}?tab=2">{{ comment.content_object.title }}</a></span><br />
<span><a href="{% url supporter supporter_username=user %}">{{ comment.user.username }}</a> on <a href="{% url work id %}?tab=2">{{ comment.content_object.title }}</a></span><br />
<span class="text">{{ comment.comment|linebreaksbr }}</span>
</div>

View File

@ -1,4 +1,4 @@
{{ comment.name }} on {{ comment.content_object.title }}
{{ comment.user.username }} on {{ comment.content_object.title }}
{{ comment.comment }}

View File

@ -5,7 +5,7 @@
<div class="image">
<a href="{% url work id %}?tab=2"><img src="{{ comment.content_object.cover_image_thumbnail }}" alt="cover image" /></a>
</div>
<span><a href="{% url supporter supporter_username=user %}">{{ comment.name }}</a> on <a href="{% url work id %}?tab=2">{{ comment.content_object.title }}</a></span><br />
<span><a href="{% url supporter supporter_username=user %}">{{ comment.user.username }}</a> on <a href="{% url work id %}?tab=2">{{ comment.content_object.title }}</a></span><br />
<span class="text">{{ comment.comment|linebreaksbr }}</span>
</div>

View File

@ -1,4 +1,4 @@
{{ comment.name }} on {{ comment.content_object.title }}
{{ comment.user.username }} on {{ comment.content_object.title }}
{{ comment.comment }}