<div class="content-nav">
  <tal:block condition="view/hasSchoolYear">
    <a tal:attributes="href string:${context/@@absolute_url}/${view/link}"
       tal:content="view/title">Title</a>
  </tal:block>
  <tal:block condition="not: view/hasSchoolYear">
    <span tal:content="view/title">Title</span>
  </tal:block>
</div>
