Commit a284b777 authored by Kevin Deldycke's avatar Kevin Deldycke

* Add description on publication workflow.

* In ListBox_asWebStyleHTML, use editable_field returned by the rendering of a listbox to get and apply the css style even if the table cell is empty.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8624 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 68fe99cf
......@@ -184,39 +184,35 @@
</tr>\n
</tfoot>\n
\n
<tbody>\n
<tal:block tal:repeat="line line_list" tal:define="checked_uid_set here/getCheckedUidSet">\n
<tr>\n
<tbody>\n
<tr tal:repeat="line line_list" tal:define="checked_uid_set here/getCheckedUidSet">\n
<tal:block tal:repeat="value line/render">\n
<tal:block tal:define="html python: value[0];\n
original_value python: value[1];\n
error python: value[2];\n
empty python: original_value in (\'\', None)">\n
<td tal:attributes="class python: empty and \'emptyCell\' or nothing">\n
<td tal:define="html python: value[0];\n
original_value python: value[1];\n
error python: value[2];\n
editable_field python: value[3];\n
editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\');\n
empty python: original_value in (\'\', None)"\n
tal:attributes="class python: empty and \'emptyCell\' or nothing">\n
<input tal:condition="not: repeat/value/index"\n
type="hidden" value="1" name="listbox_uid:list"\n
tal:attributes="value python: line.getUid() or \'\';\n
name string:${field_id}_uid:list" />\n
<tal:block tal:condition="empty">-</tal:block>\n
<tal:block tal:condition="not: empty"\n
tal:replace="structure html">value</tal:block>\n
name string:${field_id}_uid:list" />\n
<tal:block tal:condition="empty"><span tal:attributes="class editable_field_css">-</span></tal:block>\n
<tal:block tal:condition="not: empty" tal:replace="structure html">value</tal:block>\n
</td>\n
</tal:block>\n
</tal:block>\n
</tr>\n
</tal:block>\n
</tbody>\n
\n
</tbody>\n
\n
</table>\n
\n
</tal:block>\n
</tal:block>\n
</tal:block>\n
<!-- ListBox ends here. -->\n
<!-- ListBox ends here -->\n
\n
</tal:block>\n
</tal:block>
]]></string> </value>
</item>
......
......@@ -30,6 +30,16 @@
<none/>
</value>
</item>
<item>
<key> <string>creation_guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The publication allows for making sure information entered into the system has been reviewed by relevant agents before it is widely published.</string> </value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
......@@ -44,6 +54,10 @@
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
......
2006-07-20 Kevin
* Add description on publication workflow.
* In ListBox_asWebStyleHTML, use editable_field returned by the rendering of a listbox to get and apply the css style even if the table cell is empty.
2006-06-15 Kevin
* Move fulltext indexing ZSQLMethods to erp5_core.
......
53
\ No newline at end of file
59
\ No newline at end of file
0.2
\ No newline at end of file
0.2.1
\ No newline at end of file
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