Skip to content

Commit

Permalink
Fixes netbox-community#228: Correct conditional inclusion of device bays
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Jul 7, 2016
1 parent 1657764 commit 871060f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/templates/dcim/devicetype.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h1>{{ devicetype }}</h1>
{% include 'dcim/inc/devicetype_component_table.html' with table=powerport_table title='Power Ports' add_url='dcim:devicetype_add_powerport' delete_url='dcim:devicetype_delete_powerport' %}
</div>
<div class="col-md-6">
{% if devicetype.is_network_device %}
{% if devicetype.is_parent_device %}
{% include 'dcim/inc/devicetype_component_table.html' with table=devicebay_table title='Device Bays' add_url='dcim:devicetype_add_devicebay' delete_url='dcim:devicetype_delete_devicebay' %}
{% endif %}
{% if devicetype.is_network_device %}
Expand Down

0 comments on commit 871060f

Please sign in to comment.