Procházet zdrojové kódy

Added missing import buttons to cables list

Jeremy Stretch před 7 roky
rodič
revize
c29ae9b785
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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>