learnweb / moodle-tool_lifecycle

:recycle: Extensible Moodle plugin for managing course life cycles, e.g., deprovisioning
GNU General Public License v3.0
19 stars 31 forks source link

Show category of specified level in interaction tables #216

Open NinaHerrmann opened 1 month ago

NinaHerrmann commented 1 month ago

Until now always the "closest" course category was shown in the interaction table that is visible for teachers and administrators to manage their courses (view.php).

As a supplement, two settings were added. Firstly, a checkbox enables a custom level of the course hierarchy to be displayed, and secondly, a second setting specifies the level. image

In case a course does not have that level - E.g. level 2 is specified, but the course is assigned to the topmost category. The level closest to the specified level is displayed.

image

In the displayed example, the category depth is set to two and the category tree is