Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0.0-b1
-
Fix Version/s: 4.0.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
It's a bit silly to have a drop down with 1 menu item in it, as it requires 2 clicks (Click Primary Nav, click Sub-Nav item).
Previously, clicking on a primary nav item would take you directly to an index page under that section. For example, clicking "Home" would take you to the Dashboard. Clicking "Clients" would show a listing of clients.
With a fresh install of Blesta there are 2 nav links that should contain only 1 item:
- Home
- Clients
I include Home in this because the "Calendar" sub-nav item should be removed, as it can be accessed through the mini calendar on the Dashboard. Clicking "Home" should take you directly to the Dashboard. (Unless, it actually has more than 1 sub-nav item, because a plugin registered one, as with other links)
The solution here is super simple:
The primary nav already has a link, so not rending the subnav will cause the primary nav link to be triggered.