<?xml version="1.0" ?>

<!-- 
	Full "abstract page" (or splash page or summary page, depending on your jargon) for an organisation. 
-->

<cite:citation xmlns="http://www.w3.org/1999/xhtml" xmlns:epc="http://eprints.org/ep3/control" xmlns:cite="http://eprints.org/ep3/citation" >

  <p style="margin-bottom: 1em">
    <epc:print expr="$item.citation('default')" />
  </p>

  <table style="margin-bottom: 1em; margin-top: 1em;" cellpadding="3">
    <epc:comment> 
       The below block loops over a list of field names taken from organisation_render.pl
       Edit the list of metadata to show in the entity page table in organisation_render.pl
    </epc:comment>
    <epc:foreach expr="$config{organisation_page_metadata}" iterator="fieldname">
      <epc:if test="is_set($item.property($fieldname))">
        <tr>
          <th align="right"><epc:phrase ref="organisation_fieldname_{$fieldname}" />:</th>
          <td valign="top"><epc:print expr="$item.property($fieldname)" /></td>
        </tr>
      </epc:if>
    </epc:foreach>
    <tr>
      <th align="right">URI:</th>
      <td valign="top"><a href="{$item.uri()}"><epc:print expr="$item.uri()" /></a></td>
    </tr>
  </table>

  <epc:if test="!$flags{preview}">
    <epc:phrase ref="entity_page:actions"/>
    <dl class="ep_entity_page_actions">
    <epc:foreach expr="action_list('organisation_entity_page_actions',$item)" iterator="action">
      <dt><epc:print expr="$action.action_icon()" /></dt>
      <dd><epc:print expr="$action.action_title()" /></dd>
    </epc:foreach>
    </dl>
  </epc:if>

</cite:citation>
