-
Improvement
-
Resolution: Fixed
-
Minor
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-75211-master -
-
3
-
HQ Sprint 0.4 Database
As a teacher
I want to be able to select/unselect all entries when there is a checkbox that marks the selection only
so I could better understand what I am selecting/unselecting
Currently, 'Select all' button is always visible in the list view, whether the 'Bulk delete checkbox' (##delcheck##) has been added to the List template or not. The goal of this issue is to show that button when the 'Bulk delete checkbox' is present and visible on the List view only.
Acceptance criteria:
- List view template with no 'Bulk delete checkbox' element
- There is no 'Select all', 'Unselect all' and/or 'Delete selected' button visible
- List view template with 'Bulk delete checkbox' element (per current behavior, to be discussed)
- When there is no entry selected
- There is an enable 'Select all' button visible
- There is no 'Unselect all' button visible
- There is a disable 'Delete selected' button visible
- When any of the entries are selected (one or more, but not all)
- There is an enable 'Select all' button visible
- There is no 'Unselect all' button visible
- There is an enable 'Delete selected' button visible
- When all the entries are selected
- There is no 'Select all' button visible
- There is an enable 'Unselect all' button visible
- There is an enable 'Delete selected' button visible
- When there is no entry selected