<%inherit file="/template.html" />
<%namespace name="components" file="/components.html"/>
<%def name="title()">${c.title}</%def>

<%def name="breadcrumbs()"></%def>

<%block name="main">

<div id="content-startpage" class="full_teaser">
  %if c.body is not None:
  ${c.body | n}
  %endif
</div>

<div class="full_teaser">
  %if c.instances:
  <div id="instance_list" class="frontpage_main">
    <ul>
      %for instance in c.instances:
      <li>
      <a title="${ instance.label }"
        href="${ h.entity_url(instance) }"> ${ instance.label }
      </a>
      </li>
      %endfor
    </ul>
  </div>
  %endif

  %if c.stats_global:
  <div id="stats">
      ${_("<b>%s</b> members") % c.stats_global.get('members')|n} ·
      ${_("<b>%s</b> proposals") % c.stats_global.get('proposals')|n}  ·
      ${_("<b>%s</b> comments") % c.stats_global.get('comments')|n} ·
      ${_("<b>%s</b> votes") % c.stats_global.get('votes')|n}
  </div>
  %endif

  ## FIXME: Add line that scrolls through last events
</div>

</%block>
