From 42b46a413c4936c8db61798325f310168fb9f2cc Mon Sep 17 00:00:00 2001 From: Luan Date: Wed, 4 Dec 2013 09:10:07 -0200 Subject: [PATCH] minor fix of #127 --- src/super_archives/templates/message-preview.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/super_archives/templates/message-preview.html b/src/super_archives/templates/message-preview.html index 6891d06f..3454f958 100644 --- a/src/super_archives/templates/message-preview.html +++ b/src/super_archives/templates/message-preview.html @@ -48,6 +48,8 @@ {{ result.modified_by }} {% endif %} + {% elif result.modified_by and not result.modified_by_url %} + {{ result.modified_by }} {% elif result.fullname and result.author_url %} {% if query %} @@ -57,18 +59,14 @@ {% endif %} {% else %} - {% if result.modified_by %} - {{ result.modified_by }} - {% else %} - {{ result.fullname }} - {% endif %} + {{ result.fullname }} {% endif %} {% else %} {% trans "by" %} {% trans "Anonymous" %} {% endif %} {% if result.modified %} - {{ result.modified|localtime|timesince }} {% trans "ago" %} + {{ result.modified|localtime|timesince }} {% trans "ago" %} {% endif %} {% endif %}