[CMF-checkins] CVS: CMF/CMFCore/www - typesAliases.zpt:1.1.2.3

Yvo Schubbe schubbe@web.de
Wed, 25 Jun 2003 05:28:40 -0400


Update of /cvs-repository/CMF/CMFCore/www
In directory cvs.zope.org:/tmp/cvs-serv15131/CMFCore/www

Modified Files:
      Tag: yuppie-ti_aliases-branch
	typesAliases.zpt 
Log Message:
- improved migration and ui

=== CMF/CMFCore/www/typesAliases.zpt 1.1.2.2 => 1.1.2.3 ===
--- CMF/CMFCore/www/typesAliases.zpt:1.1.2.2	Tue Jun 24 15:07:02 2003
+++ CMF/CMFCore/www/typesAliases.zpt	Wed Jun 25 05:28:39 2003
@@ -1,12 +1,13 @@
 <h1 tal:replace="structure here/manage_page_header">Header</h1>
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
     tal:replace="structure here/manage_tabs">Tabs</h2>
-<br />
+
+<h3>Method Aliases Chart</h3>
 
 <form action="manage_setTIMethodAliases" method="post">
 <table cellspacing="0" cellpadding="2" border="0">
  <tr class="list-header">
-  <td>&nbsp;</td>
+  <th align="left">Alias</th>
   <th tal:repeat="key here/listMethodAliasKeys">
    <input type="text" name="" size="18" value=""
      tal:attributes="name string:aliases.${repeat/key/index}:record;
@@ -19,8 +20,13 @@
  <span tal:define="tis python:sequence.sort( here.listTypeInfo(),
                                              ( ('getId',), ) )"
    tal:repeat="ti tis" tal:omit-tag=""><tr class=""
-   tal:attributes="class python:(repeat['ti'].odd() and 'row-normal' or 'row-hilite')">
-  <th align="left" tal:content="ti/getId">id</th>
+   tal:attributes="class python:repeat['ti'].odd() and 'row-normal'
+                                                    or 'row-hilite'">
+  <th align="left">
+     <a href=""
+        tal:attributes="href string:${ti/absolute_url}/manage_workspace"
+        tal:content="ti/getId">id</a>
+  </th>
   <td tal:repeat="key here/listMethodAliasKeys">
    <input type="text" name="" size="18" value=""
      tal:attributes="name string:${ti/getId}.${repeat/key/index}:record;
@@ -40,5 +46,13 @@
  </tr>
 </table>
 </form>
+
+<p>Special Values:</p>
+<ul>
+ <li>'(Default)' alias: path/to/object or path/to/object/</li>
+ <li>'(Default)' method: index_html or __call__,
+  depending on the class</li>
+ <li>empty fields: no alias defined</li>
+</ul>
 
 <h1 tal:replace="structure here/manage_page_footer">Footer</h1>