Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make text and url box in CustomLink admin form a SmallTextArea #3580

Closed
Grokzen opened this issue Oct 8, 2019 · 0 comments
Closed

Make text and url box in CustomLink admin form a SmallTextArea #3580

Grokzen opened this issue Oct 8, 2019 · 0 comments
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@Grokzen
Copy link
Contributor

Grokzen commented Oct 8, 2019

Environment

  • Python version: 3.6.x
  • NetBox version: 2.6.5

Proposed Functionality

Currently when making a semi complex CustomLink with if and else cases, it is rather difficult to do it on one line, you have to copy it out to a editor, reformat it and then compress it and update the item with it. I propose that in the CustomLinkForm the text and url should have SmallTextarea widget configured with 5 or 7 of rows. See image below for example of the new look.

image

Use Case

It is complicated and almost difficult to make a complex one-liner when you have some jinja logic inside the string. Making it multiline at least helps to alleviate it a little bit.

Database Changes

None

External Dependencies

None

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application labels Oct 8, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants