<tal:tag condition="view/update" />
<html metal:use-macro="context/@@standard_macros/page"
      i18n:domain="schooltool">
<head>
  <title metal:fill-slot="title" i18n:translate="">
    Gradebook
  </title>
</head>
<body>
<div metal:fill-slot="body">

  <tal:block condition="python:not view.sectionsTaught and not view.sectionsAttended">
    <h1>You do not teach or attend any classes.</h1>
  </tal:block>
  <tal:block condition="view/sectionsTaught">
    <a class="navigation_header"
       tal:attributes="href view/gradebookURL">Classes you teach</a>
  </tal:block>
  <tal:block condition="view/sectionsAttended">
    <a class="navigation_header"
       tal:attributes="href view/mygradesURL">Classes you attend</a>
  </tal:block>

</div>
</body>
</html>
