MDL-82686 myoverview: Hide course overview block menu

On the My Courses page, the actions in the Course Overview block menu
can be ignored by users who have access to them, so the UX team
suggested hiding these actions
This commit is contained in:
Sara Arjona 2024-08-01 17:20:14 +02:00
parent a75365f2e4
commit 5bba3fb57c
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -9,3 +9,6 @@
color: var(--primary);
}
.page-mycourses .block_myoverview .block-controls {
display: none;
}

View File

@ -109,8 +109,7 @@ Feature: Run tests over my courses.
And I should see "This is visible on all pages"
And "Move Text on all pages block" "menuitem" should not exist in the "Text on all pages" "block"
And "Move Course overview block" "menuitem" should not exist in the "Course overview" "block"
And I click on "Actions menu" "icon" in the "Course overview" "block"
And I should not see "Delete Course overview block"
And "Actions menu" "icon" in the "Course overview" "block" should not be visible
@javascript
Scenario: User with creating a course permission can't see the Request course link