diff --git a/netbox/templates/extras/object_imageattachments.html b/netbox/templates/extras/object_imageattachments.html index 9b5c9c1f0..46cb7ff99 100644 --- a/netbox/templates/extras/object_imageattachments.html +++ b/netbox/templates/extras/object_imageattachments.html @@ -1,7 +1,16 @@ {% extends base_template %} +{% load i18n %} {% load render_table from django_tables2 %} {% load thumbnail %} +{% block extra_controls %} + {% if perms.extras.add_imageattachment %} + + {% trans "Attach an Image" %} + + {% endif %} +{% endblock %} + {% block content %}
{% for object in image_attachments %}