mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Initial work on #2179: Allow a service to have multiple ports
This commit is contained in:
@@ -62,8 +62,8 @@
|
||||
<td>{{ service.get_protocol_display }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Port</td>
|
||||
<td>{{ service.port }}</td>
|
||||
<td>Ports</td>
|
||||
<td>{{ service.ports|join:", " }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IP Addresses</td>
|
||||
|
@@ -25,7 +25,7 @@
|
||||
<label class="col-md-3 control-label required">Port</label>
|
||||
<div class="col-md-9">
|
||||
{{ form.protocol }}
|
||||
{{ form.port }}
|
||||
{{ form.ports }}
|
||||
</div>
|
||||
</div>
|
||||
{% render_field form.ipaddresses %}
|
||||
|
Reference in New Issue
Block a user