General developer forum

hide topics restict access condition on teacher view

 
Picture of Francesco Pisano
hide topics restict access condition on teacher view
 

Hi !!

I'm developing a new course format plugin.

I'd like to hide topics restict access condition on teacher view.

Here an example:
We have one topic in a topic format course.
We want to set to that topic many access restrictions based on various results of a one quiz.
Than, ater set restrictions, on teacher view we will see:

  Topic 1
  Restricted   Not available unless any of:
  - You get a particolar score in Quiz
  - You get a particolar score in Quiz
  - You get a particolar score in Quiz
  - ...
  - ...


But I'd like to see only:

  Topic 1
  Restricted   Not available unless any of:
  - You get a particolar score in Quiz
(only one time)


Or:

  Topic 1
  Restricted 
(and anything more)


Can someone help me??

[I'm using moodle 3.4]


Thanks.
  Francesco



 
Average of ratings: -