Commit Graph

114 Commits

Author SHA1 Message Date
Peter Dias
d677a3b690 MDL-71900 core: Remove the node if only a single node displayed
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Mihail Geshoski
f836887844 MDL-69588 navigation: Utilize showinsecondarynavigation in secondary nav
Utilizes the 'showinsecondarynavigation' property from the
navigation_node object to avoid displaying any unwanted nodes in the
secondary navigation.
2021-08-23 17:46:39 +08:00
Mihail Geshoski
ee63214306 MDL-71977 navigation: Set default more menu nodes in mod secondary nav
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Adrian Greeve
1a8b11b721 MDL-71877 navigation: Set the correct url for the activity view.
- Part of: MDL-69588
The first tab in the secondary navigation is to show the tab to
navigate to the modules view.php file. This patch sets the url
to view.php and if it matches the pages url, also sets it as
active.
2021-08-23 17:46:39 +08:00
Mihail Geshoski
9b792e814b MDL-71680 navigation: Force secondary navigation nodes into "more" menu
- Part of: MDL-69588
Enables to pre-define nodes which should be added into the "more" menu
by default and also setting a maximum limit of displayed nodes in the
secondary navigation.
2021-08-23 17:46:39 +08:00
Peter Dias
8782702d34 MDL-71148 core_navigation: Provide user menu as nodes
- Part of: MDL-69588
2021-08-23 17:45:55 +08:00
Peter Dias
6462e651e4 MDL-71148 core_navigation: New renderer to combine nav components
- Part of: MDL-69588
2021-08-23 17:45:55 +08:00
Peter Dias
fe285d5496 MDL-71148 core_navigation: Provide a menu header in a system context.
- Part of: MDL-69588
2021-08-23 17:45:55 +08:00
Peter Dias
f8f83eae0e MDL-70207 core_navigation: Initial backend for primary navigation 2021-04-06 11:45:44 +08:00
Andrew Nicols
bf49f3ef23 Merge branch 'MDL-70844-master' of git://github.com/peterRd/moodle 2021-03-25 10:22:51 +08:00
Peter Dias
dbda380b4e MDL-70844 core: Pass anchors instead of URL for siteadmin tabs. 2021-03-25 09:41:13 +08:00
Peter Dias
0c7c677617 MDL-71084 core_navigation: Provide a header title and active node text 2021-03-23 13:56:29 +08:00
Peter Dias
683e7b2aaf MDL-70198 core_navigation: Implement secondary nav and curate nodes
Implement the new secondary nav and curate the nodes from flatnav and settingsnav
2021-03-17 13:32:53 +08:00
Peter Dias
23bb8a21c1 MDL-70198 core_navigation: Create new base view class 2021-03-17 12:44:13 +08:00