Commit 32e09cde1f4bee059022d2c4a4085bec37405b4f

Authored by Luan
1 parent f340ec6f

Adding else stmt if anonymous user - closes #125

src/super_archives/templates/message-preview.html
@@ -56,6 +56,8 @@ @@ -56,6 +56,8 @@
56 <span>{{ result.fullname }}</span> 56 <span>{{ result.fullname }}</span>
57 {% endif %} 57 {% endif %}
58 </span> 58 </span>
  59 + {% else %}
  60 + <span class="pull-left">{% trans "by" %} {% trans "Anonymous" %}</span>
59 {% endif %} 61 {% endif %}
60 {% if result.modified %} 62 {% if result.modified %}
61 <span class="pull-right">{{ result.modified|localtime|timesince }} {% trans "ago" %}</span> 63 <span class="pull-right">{{ result.modified|localtime|timesince }} {% trans "ago" %}</span>