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

Feature request: Removal of explicit field reference in templates #1651

Closed
Ichabond opened this issue Oct 26, 2017 · 0 comments
Closed

Feature request: Removal of explicit field reference in templates #1651

Ichabond opened this issue Oct 26, 2017 · 0 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@Ichabond
Copy link
Contributor

Ichabond commented Oct 26, 2017

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.4
  • NetBox version: develop

Description

Right now, the partial (included) consoleserverport.html template uses an explicit reference to the name field for display. This is also done by the __str__() class method of ConsoleServerPort, which is used in other locations (specifically, dcim/console_connections_list.html). Changing this here as well would assure consistency if the __str__() method is ever changed.
This change does not require any changes to the database schema, only a minor modification of the template.

@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Oct 27, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants