<div class="info-block person-groups clearfix"
     i18n:domain="schooltool">
  <h5 i18n:translate="">Groups</h5>
  <div>
  <div class="tree_list" tal:condition="view/schoolyears">
    <ul>
      <li tal:repeat="schoolyear view/schoolyears">
        <a tal:attributes="href schoolyear/obj/@@absolute_url;
                           title schoolyear/obj/title"
           tal:content="schoolyear/obj/title"></a>
        <ul>
          <li tal:repeat="group schoolyear/groups">
            <a tal:attributes="href group/@@absolute_url;
                               title group/title"
               tal:content="group/title"
               class="leaf_url"></a>
          </li>
        </ul>
      </li>
    </ul>
  </div>
  <div style="clear: both;" tal:condition="view/canModify">
    <a class="modify" href="" title="Manage this person's memberships"
       tal:attributes="href string:${context/@@absolute_url}/@@groups.html"
       i18n:attributes="title"
       i18n:translate="">
      edit groups
    </a>
  </div>
  </div>
</div>
