1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #1865: Add console port and console server port types

This commit is contained in:
Jeremy Stretch
2019-10-30 14:25:55 -04:00
parent c4dd76a748
commit bb30f64252
13 changed files with 253 additions and 24 deletions

View File

@@ -628,6 +628,7 @@
<th class="pk"><input type="checkbox" class="toggle" title="Toggle all" /></th>
{% endif %}
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Cable</th>
<th colspan="2">Connection</th>

View File

@@ -6,6 +6,11 @@
</td>
<td></td>
{# Type #}
<td>
{% if cp.type %}{{ cp.get_type_display }}{% else %}&mdash;{% endif %}
</td>
{# Description #}
<td>
{{ cp.description }}

View File

@@ -14,6 +14,11 @@
<i class="fa fa-fw fa-keyboard-o"></i> {{ csp }}
</td>
{# Type #}
<td>
{% if csp.type %}{{ csp.get_type_display }}{% else %}&mdash;{% endif %}
</td>
{# Description #}
<td>
{{ csp.description|placeholder }}