<?xml version="1.0" ?>

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

<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 person_render.pl
       Edit the list of metadata to show in the entity page table in person_render.pl
    </epc:comment>
    <epc:foreach expr="$config{person_page_metadata}" iterator="fieldname">
      <epc:if test="is_set($item.property($fieldname))">
        <tr>
          <th align="right"><epc:phrase ref="person_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:phrase ref="entity_page:publications_list" entity_type="person" entity_id="{$item.id()}" />

</cite:citation>
