<?xml version="1.0" standalone="no" ?>
<!DOCTYPE document SYSTEM "rml_1_0.dtd" [
  <!ENTITY pound   "&#xA3;">
  <!ENTITY nbsp    "&#160;">
]>

<document
  xmlns:tal="http://xml.zope.org/namespaces/tal"
  xmlns:metal="http://xml.zope.org/namespaces/metal"
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
  metal:use-macro="context/@@rml_macros/report"
  i18n:domain="schooltool.intervention">

<metal:block fill-slot="page_templates">
  <tal:block content="structure view/use_template/default" />
</metal:block>

<stylesheet>
  <metal:block fill-slot="extra_initialize">
  </metal:block>
  <metal:block fill-slot="stylesheet">

    <paraStyle
      name="normal"
      fontName="Arial_Normal"
      fontSize="10"
      leading="12"/>

    <paraStyle
      name="bold"
      fontName="Arial_Bold"
      fontSize="10"
      leading="12"/>

    <paraStyle
      name="h1"
      fontName="Arial_Normal"
      fontSize="14"
      alignment="center"
      leading="22"
      spaceBefore="12"
      spaceAfter="6"/>

    <blockTableStyle id="grid">
    	<lineStyle kind="OUTLINE"
          colorName="black" thickness="0.25"
          start="0,0" stop="-1,-1" />
    	<lineStyle kind="INNERGRID"
          colorName="black" thickness="0.25"
          start="0,0" stop="-1,-1" />
        <blockValign value="top" start="0,0" stop="0,-1"/>
    </blockTableStyle>
  </metal:block>
</stylesheet>

<story metal:fill-slot="story">

  <tal:block>
    <para style="h1" i18n:translate="">Goals</para>

    <blockTable style="grid" colWidths="8cm,2cm,2cm,2cm">
      <tr>
        <td><para style="bold" i18n:translate="">Goal</para></td>
        <td><para style="bold" i18n:translate="">Added</para></td>
        <td><para style="bold" i18n:translate="">Due</para></td>
        <td><para style="bold" i18n:translate="">Status</para></td>
      </tr>

      <tr tal:repeat="goal view/goals">
        <td><para style="normal" tal:content="goal/goal" /></td>
        <td><para style="normal" tal:content="goal/added" /></td>
        <td><para style="normal" tal:content="goal/due" /></td>
        <td><para style="normal" tal:content="goal/status" /></td>
      </tr>
    </blockTable>

    <para style="h1" i18n:translate="">Messages</para>

    <blockTable style="grid" colWidths="6cm,2cm,10cm">
      <tr>
        <td><para style="bold" i18n:translate="">From</para></td>
        <td><para style="bold" i18n:translate="">Sent</para></td>
        <td><para style="bold" i18n:translate="">Message</para></td>
      </tr>

      <tr tal:repeat="message view/messages">
        <td><para style="normal" tal:content="message/from" /></td>
        <td><para style="normal" tal:content="message/sent" /></td>
        <td><para style="normal" tal:content="message/message" /></td>
      </tr>
    </blockTable>

    <condPageBreak height="88cm"/>
  </tal:block>

</story>

</document>
