1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #8182: Introduce checkmark template tag

This commit is contained in:
jeremystretch
2021-12-29 10:26:42 -05:00
parent f2aa35d3d2
commit 82a0240d2e
16 changed files with 43 additions and 123 deletions

View File

@@ -29,13 +29,7 @@
</tr>
<tr>
<th scope="row">Required</th>
<td>
{% if object.required %}
<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.required %}</td>
</tr>
<tr>
<th scope="row">Weight</th>