#7336: Misc cleanup

This commit is contained in:
Jeremy Stretch
2024-11-25 13:26:17 -05:00
parent 5afa6d7964
commit 6d65d92c38
7 changed files with 38 additions and 13 deletions

View File

@@ -18,6 +18,16 @@
<th scope="row">{% trans "Description" %}</th>
<td>{{ object.description|placeholder }}</td>
</tr>
<tr>
<th scope="row">{% trans "Rules" %}</th>
<td>
{% if object.rules.count %}
<a href="{% url 'ipam:vlantranslationrule_list' %}?policy_id={{ object.pk }}">{{ object.rules.count }}</a>
{% else %}
0
{% endif %}
</td>
</tr>
</table>
</div>
{% plugin_left_page object %}