Skip to content

Commit

Permalink
minor fix of TracyWebTech#127
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanP committed Dec 4, 2013
1 parent 20a0d24 commit 42b46a4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/super_archives/templates/message-preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
{{ result.modified_by }}
{% endif %}
</a>
{% elif result.modified_by and not result.modified_by_url %}
<span>{{ result.modified_by }}</span>
{% elif result.fullname and result.author_url %}
<a href="{{ result.author_url }}">
{% if query %}
Expand All @@ -57,18 +59,14 @@
{% endif %}
</a>
{% else %}
{% if result.modified_by %}
<span>{{ result.modified_by }}</span>
{% else %}
<span>{{ result.fullname }}</span>
{% endif %}
<span>{{ result.fullname }}</span>
{% endif %}
</span>
{% else %}
<span class="pull-left">{% trans "by" %} {% trans "Anonymous" %}</span>
{% endif %}
{% if result.modified %}
<span class="pull-right">{{ result.modified|localtime|timesince }} {% trans "ago" %}</span>
<span class="pull-right">{{ result.modified|localtime|timesince }} {% trans "ago" %}</span>
{% endif %}
</div>
{% endif %}
Expand Down

0 comments on commit 42b46a4

Please sign in to comment.