Commit ac9e1b6c authored by Jean-Paul Smets's avatar Jean-Paul Smets

2007-01-09 JPS - Support of order type. Better title of pages.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11955 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 21b01753
......@@ -99,7 +99,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tal:block i18n:translate="" i18n:domain="ui">Sort</tal:block>\n
<tal:block tal:replace="row_index" />\n
</label>\n
<div class="input" tal:attributes="id string:sort_${row_index}">\n
<div class="input" tal:attributes="id string:sort_${row_index}"\n
tal:define="sort_type python:item[min(2, len(item))]">\n
<select name="field_sort_on">\n
<tal:block tal:repeat="option all_columns">\n
<option tal:content="python:option[1]"\n
......@@ -109,6 +110,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
</tal:block>\n
</select>\n
<tal:block tal:replace="structure python:form.sort_order.render(item[1], request)" />\n
<tal:block tal:replace="structure python:form.sort_type.render(sort_type, request)" />\n
</div>\n
<p class="clear"></p>\n
</div>\n
......@@ -128,6 +130,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
i18n:translate="" i18n:domain="ui"></option>\n
</select>\n
<span tal:replace="structure python:form.sort_order.render(\'\', request)" />\n
<tal:block tal:replace="structure python:form.sort_type.render(\'\', request)" />\n
</div>\n
</tal:block>\n
<p class="clear"></p>\n
......
......@@ -94,7 +94,7 @@ IDEAS:\n
<base tal:attributes="href python: \'%s/\' % (url, )"/>\n
<meta name="generator" content="ERP5"/>\n
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>\n
<title tal:content="title | string:ERP5"/>\n
<title tal:content="python: \'%s | %s\' % (title, here.getPortalObject().getTitle() or here.getPortalObject().getId())"/>\n
<tal:block tal:repeat="css css_list">\n
<link tal:attributes="href css" type="text/css" rel="stylesheet"/>\n
</tal:block>\n
......@@ -150,8 +150,7 @@ IDEAS:\n
</body>\n
</html>\n
</tal:block>\n
</tal:block>\n
</tal:block>
]]></string> </value>
</item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment