added some logic to scheduler template for teacher.
Merge pull request #19 from MiguelABarbosa/miguel

added some logic to scheduler template for teacher.