You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is no ordering on the way that the links are displayed when being picked up by the dynamic navbar generation.
Describe the solution you'd like
Add some logic to the dynamic navbar generation to expect an integer prefix on the file names with the index for the order like:
01_this.html
02_that.html
...
nn_last.html
Describe alternatives you've considered
Alternatively we can keep the file names as are and have the dynamic bar generation look for a .order file with the required order for the links.
The text was updated successfully, but these errors were encountered:
I think the ordering prefix is cleaner because we don't need to manage another file. Also, behavior-wise if items don't have it then they can just land where they land.
* Modify version and RPM spec to point to 2.1 branch
* Add minor '%' after Daily utilization
* A few more features may be added like:
- #525
- #524
Change-Id: Id98f37ae211e1a3dea8d99841ad0e0e499a99a99
The order of menu elements is builtins, followed by
submenus, followed by html and direct link files.
For submenus, you can name them using numerical prefixes.
For example, if you have in /opt/quads/web:
1_Tickets
2_Docs
Foo
Bar
The submenus will be named:
Tickets
Docs
Bar
Foo
with the numbered elements listed first, sorted and numbers
stripped off, followed by the unnumbered elements also sorted
but being listed after the numbered submenus
Within each menu, the same logic is used to sort the html
and direct links.
Fixes: #525
Change-Id: I1d9c22969531ad44b68f796852c6d313a4ab6c4f
Is your feature request related to a problem? Please describe.
There is no ordering on the way that the links are displayed when being picked up by the dynamic navbar generation.
Describe the solution you'd like
Add some logic to the dynamic navbar generation to expect an integer prefix on the file names with the index for the order like:
Describe alternatives you've considered
Alternatively we can keep the file names as are and have the dynamic bar generation look for a
.order
file with the required order for the links.The text was updated successfully, but these errors were encountered: