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

Clean up & expand button color choices

This commit is contained in:
jeremystretch
2021-12-29 20:28:12 -05:00
parent ae3c871438
commit 9f53497e39
3 changed files with 30 additions and 40 deletions

View File

@@ -212,7 +212,7 @@ class CustomLink(ChangeLoggedModel):
button_class = models.CharField(
max_length=30,
choices=CustomLinkButtonClassChoices,
default=CustomLinkButtonClassChoices.CLASS_DEFAULT,
default=CustomLinkButtonClassChoices.DEFAULT,
help_text="The class of the first link in a group will be used for the dropdown button"
)
new_window = models.BooleanField(