Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiblock showing only when relevant #99

Open
cdipe opened this issue Feb 28, 2023 · 1 comment
Open

Multiblock showing only when relevant #99

cdipe opened this issue Feb 28, 2023 · 1 comment

Comments

@cdipe
Copy link

cdipe commented Feb 28, 2023

The Multiblock shows the headers of blocks that is unavailable to the user. That makes it's usability quite limited.

Example:
The blocks Sharing Cart and Mass actions are normally only visible to editing teachers, and only when editing is active. But when having put Sharing Cart and Mass actions in a Multiblock:

  1. The Multiblock is visible all the time (editing active and editing inactive), also to students
  2. The multiblock is showing the Sharing Cart and Mass actions headers all the time (editing active and editing inactive), also to students

How it should be:

  1. Multiblock should show only blocks that are available to the user
  2. When the Multiblock contains no blocks available to the user, the Multiblock should not show at all

(Moodle 4.1.1 with Multiblock 1.3.6 2023012500)

@danmarsden
Copy link
Member

thanks for the report - I agree it would be nice to have a way to hide blocks when the content of the block is empty - if you have development capabilities feel free to submit a pull request!

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

No branches or pull requests

2 participants