Skip to content

Commit fd3b848

Browse files
authored
Merge pull request #1 from NetTech2001/development
4.0.1
2 parents 6ef4b2c + de8d021 commit fd3b848

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed
-34.2 KB
Loading

netbox_interface_synchronization/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Config(PluginConfig):
55
name = 'netbox_interface_synchronization'
66
verbose_name = 'NetBox Interface Synchronization'
77
description = 'Syncing existing interfaces with the interfaces from a new device type in NetBox'
8-
version = '4.0.0'
8+
version = '4.0.1'
99
author = 'Keith Knowles'
1010
author_email = '[email protected]'
1111
default_settings = {

netbox_interface_synchronization/templates/netbox_interface_synchronization/interface_comparison.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% block header %}
55
<nav class="breadcrumb-container px-3" aria-label="breadcrumb">
66
<ol class="breadcrumb">
7-
<li class="breadcrumb-item"><a href="{% url 'dcim:device_list' %}">Devices</a></li>
7+
<li class="breadcrumb-item"><a href="{% url 'dcim:device_list' %}">Device</a></li>
88
<li class="breadcrumb-item"><a href="{% url 'dcim:device_list' %}?site={{ device.site.slug }}">{{ device.site }}</a></li>
99
<li class="breadcrumb-item"><a href="{% url 'dcim:device' pk=device.id %}">{{ device }}</a></li>
1010
</ol>
@@ -37,11 +37,11 @@
3737

3838
<p>
3939
{% if templates_count == interfaces_count %}
40-
The Device and Device Type have the same number of Interfaces.
40+
The Device Type and Device have the same Interfaces.
4141
{% else %}
42-
The Device and Device Type have a different number of Interfaces.<br>
43-
Device: {{ interfaces_count }}<br>
44-
Device Type: {{ templates_count }}
42+
The Device Type and Device have different Interfaces.<br>
43+
Device Type: {{ templates_count }}<br>
44+
Device: {{ interfaces_count }}
4545
{% endif %}
4646
</p>
4747

@@ -59,7 +59,7 @@
5959
<th>
6060
<label class="checkbox-group">
6161
<input type="checkbox" id="add_to_device" onclick="toggle(this)">
62-
Add To The Device
62+
Add
6363
</label>
6464
</th>
6565
</tr>
@@ -78,7 +78,7 @@
7878
{% if not interface %}
7979
<label class="checkbox-group">
8080
<input type="checkbox" name="add_to_device" value="{{ template.id }}" onclick="uncheck(this)">
81-
Add To Device
81+
Add
8282
</label>
8383
{% endif %}
8484
</td>

netbox_interface_synchronization/templates/netbox_interface_synchronization/number_of_interfaces_panel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ <h5 class="card-header">Number of Interfaces</h5>
33
<div class="card-body">
44
Total Interfaces: {{ interfaces|length }}<br>
55
{% if config.exclude_virtual_interfaces %}
6-
Non-Virtual Interfaces: {{ real_interfaces|length }}<br>
6+
Pysical Interfaces: {{ real_interfaces|length }}<br>
77
{% endif %}
88
Interfaces in the assigned Device Type: {{ interface_templates|length }}
99
</div>

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='netbox-interface-synchronization',
8-
version='4.0.0',
8+
version='4.0.1',
99
description='Syncing existing interfaces with the interfaces from a new device type in NetBox',
1010
long_description=long_description,
1111
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)