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

Allow navigation to Device Template from devices page #1197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timlegge
Copy link
Contributor

@timlegge timlegge commented Nov 9, 2019

It occurred to me that I have always wanted this link... Simply make the Device Class link to the current template

@wilpig
Copy link
Collaborator

wilpig commented Nov 9, 2019

that will be confusing as the link wont' change but you can change the value of the drop down.

@timlegge
Copy link
Contributor Author

timlegge commented Nov 9, 2019 via email

@wilpig
Copy link
Collaborator

wilpig commented Nov 9, 2019

The aesthetics of that won't be great either, it'll be a random link in the middle of that header block. You could hide an on click action on the title that would target the current value of the block to open a new tab for the device class. Just pseudo but something like

.on('click', function(
open_link('device_template.php?TemplateID='+$('#TemplateID').val())
);

It'd be a hidden link that wouldn't make the page look odd. There could also be a click target after the dropdown of some type of picture or symbol to show it points else where again with a javascript hook to send to the latest whatever. OR there could be a hook added to the drop down to update a real link on the page someplace for people like me that like to right click links and open in a new tab.

Not dogging the idea, just the current implementation is lack luster.

@timlegge
Copy link
Contributor Author

timlegge commented Nov 9, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants