Commit 20a0d240dc6f3a00124df90f3910c42e89112efc

Authored by Luan
1 parent 44c39e23

Minor fix

src/super_archives/templates/message-preview.html
... ... @@ -41,19 +41,19 @@
41 41 {% if result.fullname or result.modified_by %}
42 42 <span class="pull-left">{% trans "by" %}
43 43 {% if result.modified_by and result.modified_by_url %}
44   - <a href="{{ result.author_url }}">
  44 + <a href="{{ result.modified_by_url }}">
45 45 {% if query %}
46   - {% highlight result.fullname with query %}
  46 + {% highlight result.modified_by with query %}
47 47 {% else %}
48   - {{ result.fullname }}
  48 + {{ result.modified_by }}
49 49 {% endif %}
50 50 </a>
51 51 {% elif result.fullname and result.author_url %}
52   - <a href="{{ result.modified_by_url }}">
  52 + <a href="{{ result.author_url }}">
53 53 {% if query %}
54   - {% highlight result.modified_by with query %}
  54 + {% highlight result.fullname with query %}
55 55 {% else %}
56   - {{ result.modified_by }}
  56 + {{ result.fullname }}
57 57 {% endif %}
58 58 </a>
59 59 {% else %}
... ...