always use user_display for comments

This commit is contained in:
Luke Hatcher 2012-08-17 15:38:23 -04:00
parent 6ded9f0b14
commit 4aab28c8ef
2 changed files with 5 additions and 13 deletions

View file

@ -1 +1 @@
__version__ = "1.0b1.dev7"
__version__ = "1.0b1.dev9"

View file

@ -94,12 +94,8 @@
<span>{{ review.vote }}</span>
</div>
<div class="review-content">
<b>
{% if review.user.speaker_profile %}
{{ review.user.speaker_profile }}
{% else %}
{% user_display review.user %}
{% endif %}</b> {{ review.submitted_at|timesince }} ago <br />
<b>{% user_display review.user %}</b>
{{ review.submitted_at|timesince }} ago <br />
{{ review.comment|safe }}
</div>
</div>
@ -114,12 +110,8 @@
{% for message in review_messages %}
<div class="comment-box">
<div class="commment-content">
<b>
{% if message.user.speaker_profile %}
{{ message.user.speaker_profile }}
{% else %}
{% user_display message.user %}
{% endif %}</b> {{ message.submitted_at|timesince }} ago <br />
<b>{% user_display message.user %}</b>
{{ message.submitted_at|timesince }} ago <br />
{{ message.message|safe }}
</div>
</div>