-
Notifications
You must be signed in to change notification settings - Fork 15
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
Problem with whitespace in category name #16
Comments
This issue has been raised a few times. Unfortuntely I can't solve it from the template end so I can only recommend changing the category names in the munin plugins with an underscore instead of a space e.g. power_dns rather than power dns |
Instead of using the category, modify munin-nodeview.tmpl (not sure if anything else needs to be edited) use a placeholder and the counter variable to increment inside the href and the id. Something like:
<TMPL_INCLUDE NAME="partial/footer.tmpl"> |
I've fixed it in javascript langage (because I know better than templating language used), adding a small js to footer.tmpl
|
There's a problem when the category has a namespace, such as "Power dns" [1], the generated tab has "power dns" as ID and you can't click and open it on corresponding label with href "#power dns". I don't know what templating engine is used, but maybe there is a "strip whitespace" option, I'll try to fix it :)
1: https://github.com/munin-monitoring/contrib/blob/master/plugins/network/dns/pdns_queries
The text was updated successfully, but these errors were encountered: