Add paperclip icon on thread-list viewer for messages with attachments.
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Sat, 21 Apr 2018 21:49:38 +0000 (17:49 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Sat, 21 Apr 2018 21:49:38 +0000 (17:49 -0400)
django/archives/mailarchives/templates/_message.html

index 28c7d2a7a923556a050e0ec615dcbb077ed64bf3..3cb39ece1dd0bd552040430fe2b2f0c9fd9e4702 100644 (file)
@@ -40,7 +40,7 @@
     <th class="align-middle" scope="row">Thread:</th>
     <td>
      <select id="thread_select" class="custom-select" onchange="onThreadSelect()">
-  {%for m in threadstruct%}{%if m.id%}<option value="{{m.messageid|urlencode}}"{%if m.id == msg.id%} selected="selected"{%endif%}{%if m.hasattachment%} class="hasatt"{%endif%}>{{m.indent|safe}}{{m.printdate}} from {{m.mailfrom|hidemail}}</option>{%endif%}
+  {%for m in threadstruct%}{%if m.id%}<option value="{{m.messageid|urlencode}}"{%if m.id == msg.id%} selected="selected"{%endif%}>{{m.indent|safe}}{{m.printdate}} from {{m.mailfrom|hidemail}}{% if m.hasattachment %}        &#x1f4ce;{% endif %}</option>{%endif%}
   {%endfor%}
      </select>
     </td>