1: <html>
2: <head>
3: <meta http-equiv="content-type" content="text/html; charset=utf-8">
4: </head>
5: <body>
6: <h2>Differences between Zope and Storage</h2>
7: <p>You can make changes here for both environments!</p>
8: <table>
9: <tr bgcolor="#ff0000"><td>red = differences</td></tr>
10: </table>
11:
12: <table>
13: <tr >
14: <td align="right" class="small" valign="top" width="25%" nowrap>
15: ContentType:
16: </td>
17: <td align="left" valign="top" width="75%">
18: <b tal:content="here/contentType"/>
19: </td>
20: </tr>
21: </table>
22:
23: <form action="changeECHO_resource_metadata" method="post">
24: <table tal:define="fields python:here.findLabelsFromMapping(here.contentType);tags python:here.findTagsFromMapping(here.contentType)" border="0" cellpadding="3" width="95%">
25: <tr>
26: <td align="right">Field</td>
27: <td>ECHO content</td>
28: <td>Storage System <a tal:attributes="href python:here.absolute_url()+'/copyIndex_meta2echo_resource'">(copy to ECHO! NO UNDO!!!)</a></td>
29: </tr>
30: <span tal:omit-tag="" tal:repeat="field python:fields[1]">
31: <span tal:omit-tag="" tal:condition="python:here.isDefinedInThisSet(fields,field)">
32: <tr tal:condition="python:here.REQUEST.SESSION['diffs'][here.getFieldTag(tags,field)]">
33: <td align="right" class="small" valign="top" width="25%" nowrap tal:content="python:here.getFieldLabel(fields,field)"/>
34: <td align="left" valign="top" width="75%">
35: <input type="text" size="40" tal:attributes="value python:here.getMDValue(here.getFieldTag(tags,field));name python:here.getFieldTag(tags,field)"/>
36: </td>
37: <td>
38: <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')">
39: </td>
40: </tr>
41: <tr tal:condition="not:python:here.REQUEST.SESSION['diffs'][here.getFieldTag(tags,field)]" bgcolor="#ff0000">
42: <td align="right" class="small" valign="top" width="25%" nowrap tal:content="python:here.getFieldLabel(fields,field)"/>
43: <td align="left" valign="top" width="75%">
44: <input type="text" size="40" tal:attributes="value python:here.decode(here.getMDValue(here.getFieldTag(tags,field)));name python:here.getFieldTag(tags,field)"/>
45: </td>
46: <td>
47: <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')">
48: </td>
49: </tr>
50: </span>
51: </span>
52: </table>
53: <input type="submit" value="Submit changes">
54: </form>
55: <tal:block tal:condition="not:python:here.REQUEST.SESSION.get('back','')==''">
56: <a tal:attributes="href here/REQUEST/SESSION/back">Back to list of collection</a>
57: </tal:block>
58: </body>
59: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>