Bootstrap themes have been available for Moodle for a while now, and a small issue was there that I had not seen before – until a lecturer wondered why they could not see grades in the gradebook that should have been there.
As it is that time of year that many are dealing with end of semester grades, I thought I should pass along the solution for you if you have not known about it.
** Please note that this may not effect your site depending on the version of Moodle and if you are using a Bootstrap theme.
The issue is this:
When a teacher hides a grade from students it got a class=’hidden’ applied. Themes before bootstrap ignored it as they did not have a style for it. However bootstrap base, and therefore themes like Clean etc did have a style of it namely:
display:none;
visibility:hidden;
So instead of showing grey-ed out, or showing normally, the hidden grades vanished on the interface for the teacher as in the screenshots below.
This was fixed last september 2014 in Moodle releases through the tracker entry https://tracker.moodle.org/browse/MDL-46874 – by applying a different style ‘dimmed_text’ to the different places that currently had the style of ‘hidden’.
So remember you may or may not have an issue depending on your version.
As these were a set of core changes and if you are on a version pre-Sept 2014, you would need to applying those changes to your own core install or upgrade to a newer version to do the class change/
However if you want to have your teachers see the grades in the grader report that they have set to hidden from students and you are using a bootstrap theme – you can just add the following CSS as either custom CSS if your theme allows it, or adding it to the theme css.
.path-grade .hidden {
display:inline;
visibility:visible;
color: #999;
}
It is easy to check if your current theme has the issue:
- Create a test course
- Create an assignment
- Add some test users
- Give them grades
- Go to the gradebook and turn editing on
- Hide the grade for the activity in the gradebook
- Turn editing off
If you as a teacher/admin can view the grades for the users in the grader report when the Editing is turned off, then you have no issue to solve
If you cannot, then you should be able to easily apply the fix in the custom CSS part of your theme.
You must be logged in to post a comment.