Skip to content

Detect button::BODY_OUTLINE reliably.#700

Open
lucaboesch wants to merge 1 commit into
PoetOS:MOODLE_500_STABLEfrom
lucaboesch:activitiespage
Open

Detect button::BODY_OUTLINE reliably.#700
lucaboesch wants to merge 1 commit into
PoetOS:MOODLE_500_STABLEfrom
lucaboesch:activitiespage

Conversation

@lucaboesch
Copy link
Copy Markdown
Contributor

@lucaboesch lucaboesch commented Feb 3, 2026

The class of the activity overview page should be of class button::BODY_OUTLINE where it exists (Moodle ≥ 5.1) and of btn btn-outline-secondary (corrisponding to button::BODY_SECONDARY) where it does not exist (Moodle ≤ 5.0).

Additionally, @mchurchward, this lets the tests for Moodle 5.2 (main) pass.
The "Activities" block has been removed in the next (to be released 20th of April) Moodle version.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant