abgreeve
42e191cc4d
MDL-72005 navigation: Change context header to switch breadcrumbs
...
- Part of: MDL-69588
This changes the context header to switch the breadcrumbs to the
top in boost. It also changes the context header in the modules
to have the activity name instead of the course name, and adds
an icon for the activity.
2021-08-23 17:46:40 +08:00
Bas Brands
527562d12f
MDL-70202 theme_boost: frontend for secondary navigation
...
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Bas Brands
da67b468fa
MDL-70208 theme_boost: frontend for primary navigation
...
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Peter Dias
25e178aa59
MDL-71148 core_navigation: Move unauthenticated user checks to the lib
...
- Part of: MDL-69588
Added conditional information in user_get_user_navigation_info for
when a user is unauthenticated.
2021-08-23 17:45:55 +08:00
Andrew Nicols
530322e2ce
MDL-69918 core: Update uses of legacy form change checker
2021-08-10 23:54:01 +08:00
Bas Brands
c36972b2c0
MDL-71293 theme_boost: improve navbar for new navigation
2021-06-23 12:03:10 +02:00
Jun Pataleta
daa9992215
MDL-71342 mod: Conditionally display activity info
...
* The activity information output component is still being displayed
even in the case when the activity does not have dates to show and
completion tracking is not enabled.
This also causes a horizontal line to be rendered in activity view pages
below the activity heading which does not serve much purpose when
there's no activity information to be shown.
The activity information output component should only be displayed
if there's completion information to show or if there are activty dates
to show. Otherwise, there's no need to render it.
2021-04-15 23:10:03 +08:00
Jun Pataleta
dd32d65f3a
MDL-70817 core_course: Create an activity information output component
...
The activity information output component displays information about
an activity module that can contain:
1. Activity dates
2. Completion information
a. A manual completion button; or
b. A list of automatic completion conditions and their statuses.
This patch also includes a new JS module called
core_course/manual_completion_toggle for toggling the
completion state of activities that support manual completion.
2021-04-02 21:53:20 +08:00
Eloy Lafuente (stronk7)
f35e3f09c2
MDL-69474 accessibility: page->url can be not set, protect against that
...
Both in unit tests, but also in other areas (say blocks, for example)
it's possible that page->url has not been set yet.
So, let's change current code to always check if we have something
(page->url) to compare.
Note the use of has_set_url() is needed, because page->url is magic
method and it doesn't work as expected. Hate magics!
2021-03-16 00:52:28 +01:00
hiendinh
bc6997a889
MDL-69474 Accessibility: Profile image changes
2021-03-11 16:29:11 +07:00
Shamim Rezaie
612a1741f6
MDL-70172 output: pages with main logo should have a first-level header
2021-03-02 05:35:14 +11:00
Víctor Déniz
4e26c93473
Merge branch 'MDL-70536-reset-page-cli' of https://github.com/brendanheywood/moodle
2021-02-18 00:31:39 +00:00
Shamim Rezaie
6df239900e
MDL-70173 core: Use a meaningful first level header
2021-02-09 16:16:09 +11:00
Shamim Rezaie
c0e3a4108c
MDL-70173 output: All pages should have a heading
...
In MDL-63040, it was decided that the page header for the dashboad page
should be removed.
However, Based on Success Criteria 1.3.1 and 2.4.6 from the WebAIM's
WCAG 2 Checklist, all pages should have an <h1> element.
So I put an sr-only heading on the dashboard and all other pages, where
no page header is shown.
2021-02-09 16:16:09 +11:00
Shamim Rezaie
b0b3a53521
MDL-70173 output: use an empty alt to hide user pic from screen readers
...
There is no need to use WAI-ARIA to hide images from screen readers.
See https://www.w3.org/WAI/tutorials/images/decorative/
2021-02-09 16:16:09 +11:00
Brendan Heywood
a87ddbd685
MDL-70536 cli: Fixed cli progress bar when 100% more than once
2021-02-07 00:36:01 +11:00
Brendan Heywood
ded82b7f5b
MDL-70583 cli: Allow progress bars to be rendered in cli scripts
2021-02-02 22:07:14 +11:00
Mikhail Golenkov
b01eb0b3f8
MDL-68792 theme_boost: Do not move blocks on embedded layout.
2020-12-18 12:06:03 +11:00
Mikhail Golenkov
8325c83b20
MDL-68792 theme_boost: Show the fake blocks on embedded layout.
2020-12-18 12:06:03 +11:00
Tim Hunt
5a96b5427f
MDL-69735 core renderer notifications: make closebutton option usable
2020-12-11 19:54:39 +00:00
Víctor Déniz
c064f06ea1
Merge branch 'MDL-62678-core-fetch-notifications' of https://github.com/brendanheywood/moodle
2020-10-06 22:59:24 +01:00
Brendan Heywood
f3844e595e
MDL-62678 core: Improve efficiency of notifications and avoid ajax call
2020-09-30 13:55:30 +10:00
David Mudrák
9ce768008c
MDL-69050 lang: Stop using the term blacklist in mustache output engine
2020-09-24 19:41:58 +02:00
Bas Brands
1a2a52d121
MDL-69454 core_search: consistent navbar search
2020-09-21 10:15:11 +02:00
Eloy Lafuente (stronk7)
6e6a1785df
Merge branch 'MDL-69395-master' of git://github.com/bmbrands/moodle into master
2020-09-17 08:43:51 +02:00
Davo Smith
6ea01b6e99
MDL-68564 outputrenderers: extend before_footer hook to allow output
2020-09-17 08:43:51 +02:00
Bas Brands
609d8b380e
MDL-69395 theme_boost: improve colour contrast for form input fields
...
- for this issue the atto styles.css was moved into theme boost so
we can use our preset variable for $gray-500
2020-09-09 09:59:08 +02:00
Bas Brands
4394f9e358
MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css
2020-08-17 08:16:42 +00:00
Andrew Nicols
452497da41
Merge branch 'MDL-68334-master' of git://github.com/lucaboesch/moodle
2020-08-12 11:05:54 +08:00
Luca Bösch
4994817908
MDL-68334 user: Display name in footer as elsewhere.
2020-08-08 10:38:56 +02:00
Gareth Barnard
da4ded8a16
MDL-64818 blocks: blocks_for_region() is inefficient.
2020-08-07 13:58:35 +01:00
Shamim Rezaie
e505618f08
MDL-68931 core: No feedback link on footer if the feature is disabled
2020-06-09 19:05:16 +10:00
Shamim Rezaie
a3a9539bd7
MDL-68076 core: display the feedback link on footer
2020-06-04 11:57:24 +10:00
Jake Dallimore
0fbc2c11f5
Merge branch 'MDL-67874-master' of git://github.com/bmbrands/moodle
2020-05-27 13:54:51 +08:00
Adrian Greeve
6f17ec9181
Merge branch 'MDL-68788' of https://github.com/Chocolate-lightning/moodle
2020-05-27 10:55:20 +08:00
Bas Brands
91de0ed823
MDL-67874 theme_boost: make focus outline accessible
2020-05-26 09:54:12 +02:00
Bas Brands
f0947b944c
MDL-68270 core_output: prevent blurring of navbar logo
2020-05-25 15:48:52 +02:00
Mathew May
eff7ef2cd2
MDL-68788 core_notification: Check if the user is logged in
2020-05-21 16:33:25 +08:00
Nicholas Hoobin
119a83f148
MDL-68041 core_theme: New admin settings in secure page layout
...
This adds two new admin settings to the theme appearance options.
Shows the lang menu in secure layout, langmenuinsecurelayout.
Shows the user's name in secure layout, logininfoinsecurelayout.
When the page layout is set to secure, these options will be in effect.
2020-05-11 17:23:17 +10:00
Bas Brands
ac00aec239
MDL-68383 contentbank: improve css for content bank
2020-04-22 15:50:46 +02:00
Brendan Heywood
20167daf89
MDL-47271 report_status: Added System status report
2020-04-08 14:35:31 +10:00
Brendan Heywood
a28277697d
MDL-67818 check: Rename renderer to be less generic
2020-04-07 12:07:42 +10:00
Sara Arjona
43cda51ea1
Merge branch 'MDL-68233' of https://github.com/timhunt/moodle
2020-04-06 12:51:22 +02:00
Brendan Heywood
00c2153be1
MDL-67818 check: Added Check API and refactored security checks
...
AMOS BEGIN
MOV [check_noauth_details,report_security],[check_noauth_details,auth_none]
MOV [check_noauth_error,report_security],[check_noauth_error,auth_none]
MOV [check_noauth_name,report_security],[check_noauth_name,auth_none]
MOV [check_noauth_ok,report_security],[check_noauth_ok,auth_none]
AMOS END
2020-04-06 12:28:37 +10:00
Tim Hunt
19f221961e
MDL-68233 renderers/block: fix reported coding style issues
2020-03-29 15:35:04 +01:00
Tim Hunt
1dcd0d3499
MDL-68233 renderers/block: remove illegal uses of $PAGE and $OUTPUT
2020-03-29 15:34:26 +01:00
Jake Dallimore
82a1e8da34
Merge branch 'MDL-68135-master' of git://github.com/rezaies/moodle
2020-03-24 12:10:33 +08:00
Shamim Rezaie
f064e11579
MDL-67970 course: More informative aria-label for 'more help'
2020-03-17 18:19:20 +11:00
Shamim Rezaie
668df7663f
MDL-67970 search: fixed stray end tag (input)
2020-03-17 18:16:25 +11:00
Shamim Rezaie
32ec05466a
MDL-68135 output: remove the presentation role from user pic
...
"presentation" is not a valid role for the img element.
Moreover, it doesn't make sense to have both role="presentation" and
aria-hidden="true" for an element at the same time.
For more info please see:
https://timwright.org/blog/2016/11/19/difference-rolepresentation-aria-hiddentrue/
2020-03-10 16:30:08 +11:00