Skip to content

👪 A moodle block that displays the groups in which a user is enrolled

Notifications You must be signed in to change notification settings

NinaHerrmann/moodle-block_groups-1

 
 

Repository files navigation

moodle-block_groups

Build Status codecov

A Moodle block to display groups and groupings to users. The plugin differentiates between the capability rights of users to evaluate the appropriate amount of information to be displayed.

This plugin is written by Jan Dageförde, Tobias Reischmann and Nina Herrmann.

Installation

This plugin should go into blocks/groups. Moodle plugin directory link is https://moodle.org/plugins/block_groups.

Screenshots

Teachers' view

In initial state value groups and groupings are not listed.



The block displays all existing groups and groupings as well as all enrolled groups on request. The number inside the brackets displays the number of members in a group or grouping. Additionally, groups can be hidden, illustrated by an eye icon and a change in opacity. When the icon is clicked the visibility of groups changes. Moreover, all groups can be changed with one click. Javascript files exist to update the block. When the block is installed for the first time all groups are hidden. The following picture shows a course with 4 groups. Group 1 and Group 2.1 are hidden. The other groups are visible.



In case the required change is not possible a warning message is displayed and the affected group is marked with a triangle.



Students' view

In the current state of the block groupings are not displayed to the students.
Students are only able to view the groups they are enrolled in. In case they are not enrolled in any visible group, no block is displayed.


About

👪 A moodle block that displays the groups in which a user is enrolled

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 68.3%
  • Gherkin 15.8%
  • JavaScript 14.6%
  • CSS 1.3%