File:  [Repository] / ECHO_content / zpt / ECHO_resourceMD.zpt
Revision 1.11: download - view: text, annotated - select for diffs - revision graph
Mon Oct 11 13:15:00 2010 UTC (13 years, 7 months ago) by dwinter
Branches: MAIN
CVS tags: cleanup, Root_cleanup, HEAD
bugs in generate label and title fixed

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>
<h2>Differences between Zope and Storage</h2>
<p>You can make changes here for both environments!</p>
<table>
<tr bgcolor="#ff0000"><td>red = differences</td></tr>
</table>

<table>
 <tr >
	<td align="right" class="small" valign="top" width="25%" nowrap>	
	  ContentType:
	</td>
	<td align="left" valign="top" width="75%">	
	  <b tal:content="here/contentType"/>
	 </td>
      </tr>
</table>

 <form action="changeECHO_resource_metadata" method="post">
    <table  tal:define="fields python:here.findLabelsFromMapping(here.contentType);tags python:here.findTagsFromMapping(here.contentType)" border="0" cellpadding="3" width="95%">
        <tr>
       <td align="right">Field</td>
       <td>ECHO content</td>
       <td>Storage System <a tal:attributes="href python:here.absolute_url()+'/copyIndex_meta2echo_resource'">(copy to ECHO! NO UNDO!!!)</a></td>
      </tr>
      <span tal:omit-tag=""  tal:repeat="field python:fields[1]">
	<span tal:omit-tag="" tal:condition="python:here.isDefinedInThisSet(fields,field)">
	<tr tal:condition="python:here.REQUEST.SESSION['diffs'][here.getFieldTag(tags,field)]">
	  <td align="right" class="small" valign="top" width="25%" nowrap tal:content="python:here.getFieldLabel(fields,field)"/>	
	  <td align="left" valign="top" width="75%">	
	    <input type="text" size="40" tal:attributes="value python:here.getMDValue(here.getFieldTag(tags,field));name python:here.getFieldTag(tags,field)"/>
	  </td>
	  <td>
	    <input type="text" size="40" tal:attributes="name python:'OSAS_%s'%here.getFieldTag(tags,field);value python:options['metadict'].get(here.getFieldTag(tags,field),'NOT')">
	  </td>
	 </tr>
         <tr tal:condition="not:python:here.REQUEST.SESSION['diffs'][here.getFieldTag(tags,field)]" bgcolor="#ff0000">
	   <td align="right" class="small" valign="top" width="25%" nowrap tal:content="python:here.getFieldLabel(fields,field)"/>	
	   <td align="left" valign="top" width="75%">	
	    <input type="text" size="40" tal:attributes="value python:here.decode(here.getMDValue(here.getFieldTag(tags,field)));name python:here.getFieldTag(tags,field)"/>
	   </td>
	   <td>
	    <input type="text" size="40" tal:attributes="name python:'OSAS_%s'%here.getFieldTag(tags,field);value python:options['metadict'].get(here.getFieldTag(tags,field),'NOT')">
	   </td>
	</tr>
      </span>
      </span>
     </table>
    <input type="submit" value="Submit changes">
   </form>
   <tal:block tal:condition="not:python:here.REQUEST.SESSION.get('back','')==''">
   	      <a tal:attributes="href here/REQUEST/SESSION/back">Back to list of collection</a>
   </tal:block>
</body>
</html>

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