Closes #8182: Introduce checkmark template tag

This commit is contained in:
jeremystretch
2021-12-29 10:26:42 -05:00
parent 4ed4a8dff0
commit 783570d792
16 changed files with 43 additions and 123 deletions

View File

@@ -40,13 +40,7 @@
</tr>
<tr>
<th scope="row">Attachment</th>
<td>
{% if object.as_attachment %}
<i class="mdi mdi-check-bold text-success" title="Yes"></i>
{% else %}
<i class="mdi mdi-close-thick text-danger" title="No"></i>
{% endif %}
</td>
<td>{% checkmark object.as_attachment %}</td>
</tr>
</table>
</div>