Explorar el Código

Added missing import buttons to cables list

Jeremy Stretch hace 7 años
padre
commit
c29ae9b785
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      netbox/templates/dcim/cable_list.html

+ 3 - 0
netbox/templates/dcim/cable_list.html

@@ -3,6 +3,9 @@
 
 {% block content %}
 <div class="pull-right">
+    {% if perms.dcim.add_cable %}
+        {% import_button 'dcim:cable_import' %}
+    {% endif %}
     {% export_button content_type %}
 </div>
 <h1>{% block title %}Cables{% endblock %}</h1>