Andrew Nicols
873000b23b
Merge branch 'MDL-73329' of https://github.com/paulholden/moodle
2021-12-15 09:34:34 +08:00
Mathew May
54e098c5a5
MDL-73231 my: Allow my courses to be a homepage
2021-12-13 22:43:28 +08:00
Paul Holden
becf3bd15c
MDL-73329 admin: improve detection of the admin search page.
...
After a query has been performed, the individual tab content
(it's settings links) isn't rendered to the page. In this case
we should redirect the user back to initial page without the
query parameter, in order for the tab content to load.
2021-12-10 14:00:38 +00:00
abgreeve
d02274137a
MDL-72090 navigation: Create an overflow menu for course admin.
...
This adds a select menu for navigation on course administration
pages such as import, export, course copy, and course reset.
2021-12-09 11:13:35 +08:00
Peter Dias
e0d7dbd022
MDL-72875 course: Introduce tertiary nav in participants
...
- Introduce tertiary nav in the participants page
2021-12-02 13:09:12 +08:00
Mathew May
b983003e2e
MDL-70197 navigation: Remove old navigation elements and migrate behat
2021-11-29 15:47:42 +08:00
Sara Arjona
4c1ccf5ed3
Merge branch 'MDL-72934-master' of https://github.com/peterRd/moodle
2021-11-23 10:52:11 +08:00
Peter Dias
12ded633b4
MDL-72934 core_navigation: Early return if no nodes to be rendered.
...
Do not export any items for templates if the nodecollection does not
have any children.
2021-11-18 11:17:00 +08:00
Peter Dias
a7a5f6626a
MDL-72816 navigation: Make sure a secondary node is active
...
- Clone nodes shared between nav trees before utilising it.
2021-11-17 15:55:24 +08:00
Peter Dias
423e5a5fee
MDL-72816 navigation: Make sure a primary node is active
...
- Revert unnecessary primary_active_tab setters
- Modify the navigation nodes to never change text based on default homepage
- Make sure a tab is set active
2021-11-17 15:55:18 +08:00
Andrew Nicols
738d4cac07
Merge branch 'MDL-70801-new' of https://github.com/Chocolate-lightning/moodle
2021-11-17 12:41:32 +08:00
Bas Brands
4fb5fb052f
MDL-72250 theme_boost: add mobile nav drawer
2021-11-16 08:58:01 +01:00
Mathew May
6ca9c2154a
MDL-70801 core_my: Add a new courses page
2021-11-15 11:49:35 +08:00
Jake Dallimore
6266b198ed
Merge branch 'MDL-71914-master-v3' of git://github.com/peterRd/moodle
2021-10-27 10:39:09 +08:00
Peter Dias
f1ca3757a7
MDL-71914 navigation: Update tab urls
...
- Remove sr from the urls when not set
- Remove sesskey from course tab so the scan can pick it up
2021-10-26 11:21:32 +08:00
abgreeve
ca229dfcad
Merge branch 'MDL-69371-master-4' of git://github.com/bmbrands/moodle
2021-10-21 17:16:48 +08:00
Jun Pataleta
56c55f996a
Merge branch 'MDL-72352-master-v2' of git://github.com/peterRd/moodle
2021-10-20 15:45:22 +08:00
Peter Dias
e30f73ddef
MDL-72352 navigation: Add filters to moremenu
2021-10-20 14:55:11 +08:00
Adrian Greeve
f7e33da502
MDL-72352 navigation: Third party settings with children displayed.
...
This makes sure that we are backwards compatible with plugins that
have extended the course or module settings navigation and have
containers.
2021-10-20 14:55:11 +08:00
abgreeve
0492b069be
MDL-69371 core_renderer: New core language renderable.
2021-10-19 13:47:46 +02:00
Mihail Geshoski
f652127d28
MDL-72530 navigation: No display limit for secondary nodes in site admin
...
Avoids applying maximum limit of displayed secondary navigation nodes
only in site administration pages.
2021-10-14 10:55:33 +08:00
Mihail Geshoski
2c9ab4980d
MDL-72530 navigation: Optional max limit of displayed secondary nodes
...
Includes an optional function argument $maxdisplayednodes (int/null)
in force_nodes_into_more_menu() which will enable configuration of the
max limit of displayed nodes in the secondary navigation. If null,
a limit of displayed nodes will not be applied.
2021-10-13 12:58:32 +08:00
Shamim Rezaie
045ca2f1f0
Merge branch 'MDL-72689-master' of https://github.com/sharidas/moodle
2021-10-11 20:11:44 +11:00
Sujith Haridasan
28f4ab461e
MDL-72689 core_navigation: Respect homepage preference
...
If defaulthomepage is set to Dashboard then Site home link
in the primary navigation should point to "/?redirect=0"
2021-10-08 10:46:40 +05:30
Andrew Nicols
598f3c2cc3
Merge branch 'MDL-72642-master' of git://github.com/mihailges/moodle
2021-10-05 23:18:51 +02:00
Eloy Lafuente (stronk7)
a665ad27d2
Merge branch 'MDL-72396-master' of https://github.com/sharidas/moodle
2021-09-30 20:12:39 +02:00
Mihail Geshoski
8e4a7c6b90
MDL-72642 navigation: Fix duplicated ID in more menu items
2021-09-23 15:10:48 +08:00
Eloy Lafuente (stronk7)
b889f9f3f6
Merge branch 'MDL-72110-master-v3' of https://github.com/sharidas/moodle
2021-09-22 20:00:18 +02:00
Sujith Haridasan
c1a2df7f64
MDL-72396 core: Allow setting of active tab
...
Allow easy setting of active tab for the navigation
views.
2021-09-17 12:37:42 +05:30
Mihail Geshoski
9ce040a7a7
MDL-72093 navigation: Replace strings in course and module secondary nav
2021-09-14 12:02:35 +08:00
abgreeve
40b6c725b4
MDL-71092 navigation: Update to better scan for the active node.
2021-09-01 09:09:21 +08:00
Adrian Greeve
67be3393bf
MDL-71092 navigation: Update secondary nav to show category context.
2021-09-01 09:08:54 +08:00
Sujith Haridasan
16e939fe2c
MDL-72110 core_navigation: home page preference
...
Admin should respect the home page preference set
just like any other user. Also when user preference
is set to dashboard, the home points to the dashboard
and the dashboard should become "Site home" which would
point to Site home.
2021-08-27 10:05:48 +05:30
Mathew May
89460a50d2
MDL-69588 navigation: Address final point from review
2021-08-25 10:35:23 +08:00
Mathew May
c1130de5ff
MDL-69588 accessibility: Address further review points
2021-08-24 11:56:02 +08:00
abgreeve
56c34d71ef
MDL-69588 theme_boost: Use partial templates in boost.
...
This moves away from using escaped html injected into the template
and uses partial templates instead.
2021-08-23 17:47:24 +08:00
Mathew May
1ce2bb0007
MDL-69588 navigation: Show home primary node when required
2021-08-23 17:47:24 +08:00
Peter Dias
3110abec03
MDL-71901 core: Update the secondary nav nodes order
...
- Part of: MDL-69588
2021-08-23 17:47:02 +08:00
Peter Dias
f4d3606a2e
MDL-71901 core: Allow blocks to specify their own nav
...
- Part of: MDL-69588
2021-08-23 17:47:01 +08:00
Mihail Geshoski
68237ac761
MDL-71683 navigation: Implement the lang menu in the main navigation
...
- Part of: MDL-69588
2021-08-23 17:46:40 +08:00
Mihail Geshoski
d78dc95d6b
MDL-71683 navigation: Add a lang submenu within the user menu
...
- Part of: MDL-69588
The menu used to select one of the available languages is now
displayed as a submenu within the user menu only when a user is
logged in.
2021-08-23 17:46:40 +08:00
Mathew May
d9016d2fa7
MDL-72006 navigation: Reduce max secondary nav items
...
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
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