Fixes #2976: Add delete button to tag view

This commit is contained in:
Jeremy Stretch 2019-03-06 12:11:01 -05:00
parent f2382dd255
commit f35b4bf768
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,7 @@ v2.5.8 (FUTURE)
* [#2961](https://github.com/digitalocean/netbox/issues/2961) - Prevent exception when exporting inventory items belonging to unnamed devices
* [#2962](https://github.com/digitalocean/netbox/issues/2962) - Increase ExportTemplate `mime_type` field length
* [#2966](https://github.com/digitalocean/netbox/issues/2966) - Accept `null` cable length_unit via API
* [#2976](https://github.com/digitalocean/netbox/issues/2976) - Add delete button to tag view
---

View File

@ -29,6 +29,12 @@
Edit this tag
</a>
{% endif %}
{% if perms.taggit.delete_tag %}
<a href="{% url 'extras:tag_delete' slug=tag.slug %}" class="btn btn-danger">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
Delete this tag
</a>
{% endif %}
</div>
<h1>{% block title %}Tag: {{ tag }}{% endblock %}</h1>
{% endblock %}