Annotation of OSAS/OSA_system/zpt/index_meta.zpt, revision 1.6

1.1       dwinter     1: <?xml version="1.0" encoding="UTF-8"?>
                      2: <resource xmlns:tal="http://xml.zope.org/namespaces/tal" type="MPIWG" tal:define="global add_metadata here/REQUEST/SESSION/add_metadata">
1.3       dwinter     3:    <description tal:content="python:add_metadata['description'].decode('utf-8')">SHORT SOURCE DESCRIPTION</description>
                      4:    <archive-creation-date tal:content="python:add_metadata['archive-creation-date'].decode('utf-8')">CREATION DATE</archive-creation-date>
1.1       dwinter     5:    <name tal:content="python:add_metadata['folder_name']">FOLDER NAME</name>
                      6:    <archive-path tal:content="python:add_metadata['archive-path']+'/'+add_metadata['folder_name']">ARCHIVE PATH</archive-path>
1.3       dwinter     7:    <creator tal:content="python:add_metadata['creator'].decode('utf-8')">CREATOR</creator>
1.4       casties     8:    <content-type tal:content="python:add_metadata['content-type'].decode('utf-8')">CONTENT</content-type>
1.5       casties     9:     <derived-from tal:condition="python:add_metadata['derived-from']">
                     10:       <archive-path tal:content="python:add_metadata['derived-from'].decode('utf-8')"/>
1.4       casties    11:     </derived-from>
1.6     ! casties    12:     <access-conditions tal:condition="python:add_metadata['access-type']">
        !            13:       <access tal:condition="python:add_metadata['access-type']=='free'" type="free"/>
        !            14:       <access tal:condition="python:add_metadata['access-type']!='free'" type="institution">
        !            15:         <name tal:content="python:add_metadata['access-type'].decode('utf-8')"/>
        !            16:       </access>
        !            17:     </access-conditions>
1.1       dwinter    18:    <meta tal:condition="python:len(here.metadataprint)>0">
                     19:        <bib type="XX" tal:attributes="type python:here.reftype">
1.2       dwinter    20:         <span tal:replace="structure python:here.metadataprint.decode('utf-8')"/> 
1.1       dwinter    21:        </bib>
                     22:    </meta>
                     23: </resource>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>