/usr/share/pyshared/zope/app/component/browser/registration.pt is in python-zope.app.component 3.9.3-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | <html metal:use-macro="context/@@standard_macros/view"
i18n:domain="zope">
<body>
<div metal:fill-slot="body">
<form action="@@addRegistration.html" method="get"
tal:condition="not:view/registrations">
<p i18n:translate="">This object isn't yet registered.</p>
<input type="submit" value="Register this object"
i18n:attributes="value register-button" />
</form>
<tal:block tal:condition="view/registrations">
<form action="" method="post" tal:attributes="action request/URL">
<p i18n:translate="">
This object is registered:
</p>
<table>
<tr tal:repeat="registration view/registrations">
<td>
<input type="checkbox"
class="noborder" name="ids:list"
tal:attributes="value registration/id;
id registration/id;"
/>
</td>
<td tal:define="info registration/render">
<tal:block content="info/info">
zope.app.fooIFoo utility named bob
</tal:block>
<tal:block condition="info/comment">
<br />
<tal:block content="info/comment">
comment: needed a bob
</tal:block>
</tal:block>
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="Unregister" name="deactivate"
i18n:attributes="value unregister-button" />
</td>
</tr>
</table>
</form>
<form action="@@addRegistration.html" method="get">
<input type="submit" value="Register this object again"
i18n:attributes="value register-again-button" />
</form>
</tal:block>
</div>
</body>
</html>
|