added a comment - - edited
Just for the record, this was the reasoning: for the status display of quiz, it is important that it does show when the quiz will close, since that helps make the behavior of the UI predictable - in contrast, the opening date does not have this nature of being status information.
Oh te tooltip is there already! Did not notice it. This is the problem: the text does not afford hovering so I am predicting most uses will never see that tooltip.
I am not sure what is the convention in Moodle, often a dashed underlining (css border-bottom: dashed or something?) is used for elements that have a tooltip but are not otherwise active (and are not icons/pictures). Even for users who do not understand what the cue means, this is learnable, i.e. they might go and try once they notice that there is something funny about the outlook of the element.
Just hit my eye, you might want to fix:
(public function print_messages())
Assigning to you, since I do not quite understand the reasoning behind the classes in mod/quiz/accessrules.php .
- Print each message in an array, each surrounded by <p>, </p> tags.
(public function print_messages())
Assigning to you, since I do not quite understand the reasoning behind the classes in mod/quiz/accessrules.php .