Hello. Have you tried the method in Blocks FAQ - How can I make a block in my course visible to teachers but not to students?
- Add a block to the main course page and ask your administrator change permissions and prevent authenticated users and students from viewing the block but allow teachers. (A regular teacher cannot change permissions of authenticated users.)
Unfortunately, preventing authenticated users will also affect teachers. Teachers are unable to view the block when authenticated user permission as prevented.