Skip to content

Commit

Permalink
Merge pull request #440 from peteeckel/feature/default-menu-name
Browse files Browse the repository at this point in the history
Changed default menu name from "NetBox DNS" to "DNS"
  • Loading branch information
peteeckel authored Oct 17, 2024
2 parents 81f86bd + 762b1cb commit e9a7ea6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/using_netbox_dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ For this use case, it is possible to define filters per DNS view that provide ad
{
"dns_name__startswith": "external"
}
```
```

As a more practical example, the user can create a boolean custom field named `external`, and define the following IP address filter for the external view:

Expand Down Expand Up @@ -1071,13 +1071,13 @@ After these steps have been completed, creating, deleting or updating IP address
There are limited options to customize the appearance and functionality of the NetBox DNS plugin.

### Name of the Main Menu Item
The default name of the submenu NetBox DNS uses in the NetBox sidebar is 'NetBox DNS'. Using the configuration variable `menu_name` in the plugin configuration this can be changed to a different value, e.g. 'DNS':
The default name of the submenu NetBox DNS uses in the NetBox sidebar is 'DNS'. Using the configuration variable `menu_name` in the plugin configuration this can be changed to a different value, e.g. 'NetBox DNS':

```
PLUGINS_CONFIG = {
'netbox_dns': {
...
menu_name: "DNS",
menu_name: "NetBox DNS",
...
},
}
Expand Down
2 changes: 1 addition & 1 deletion netbox_dns/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class DNSConfig(PluginConfig):
"enable_root_zones": False,
"enforce_unique_records": True,
"enforce_unique_rrset_ttl": True,
"menu_name": "NetBox DNS",
"menu_name": "DNS",
"top_level_menu": True,
}
base_url = "netbox-dns"
Expand Down

0 comments on commit e9a7ea6

Please sign in to comment.