From 4aab28c8ef0654a4ad08e8a6664c54413901d32e Mon Sep 17 00:00:00 2001 From: Luke Hatcher Date: Fri, 17 Aug 2012 15:38:23 -0400 Subject: [PATCH] always use user_display for comments --- symposion/__init__.py | 2 +- symposion/templates/reviews/review_detail.html | 16 ++++------------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/symposion/__init__.py b/symposion/__init__.py index 745dcf7b..1c99f38b 100644 --- a/symposion/__init__.py +++ b/symposion/__init__.py @@ -1 +1 @@ -__version__ = "1.0b1.dev7" +__version__ = "1.0b1.dev9" diff --git a/symposion/templates/reviews/review_detail.html b/symposion/templates/reviews/review_detail.html index 357b76d0..4cdda154 100644 --- a/symposion/templates/reviews/review_detail.html +++ b/symposion/templates/reviews/review_detail.html @@ -94,12 +94,8 @@ {{ review.vote }}
- - {% if review.user.speaker_profile %} - {{ review.user.speaker_profile }} - {% else %} - {% user_display review.user %} - {% endif %} {{ review.submitted_at|timesince }} ago
+ {% user_display review.user %} + {{ review.submitted_at|timesince }} ago
{{ review.comment|safe }}
@@ -114,12 +110,8 @@ {% for message in review_messages %}
- - {% if message.user.speaker_profile %} - {{ message.user.speaker_profile }} - {% else %} - {% user_display message.user %} - {% endif %} {{ message.submitted_at|timesince }} ago
+ {% user_display message.user %} + {{ message.submitted_at|timesince }} ago
{{ message.message|safe }}