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
...@@ -185,38 +185,34 @@ ...@@ -185,38 +185,34 @@
</tfoot>\n </tfoot>\n
\n \n
<tbody>\n <tbody>\n
<tal:block tal:repeat="line line_list" tal:define="checked_uid_set here/getCheckedUidSet">\n <tr tal:repeat="line line_list" tal:define="checked_uid_set here/getCheckedUidSet">\n
<tr>\n
<tal:block tal:repeat="value line/render">\n <tal:block tal:repeat="value line/render">\n
<tal:block tal:define="html python: value[0];\n <td tal:define="html python: value[0];\n
original_value python: value[1];\n original_value python: value[1];\n
error python: value[2];\n error python: value[2];\n
empty python: original_value in (\'\', None)">\n editable_field python: value[3];\n
<td tal:attributes="class python: empty and \'emptyCell\' or nothing">\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 <input tal:condition="not: repeat/value/index"\n
type="hidden" value="1" name="listbox_uid:list"\n type="hidden" value="1" name="listbox_uid:list"\n
tal:attributes="value python: line.getUid() or \'\';\n tal:attributes="value python: line.getUid() or \'\';\n
name string:${field_id}_uid:list" />\n name string:${field_id}_uid:list" />\n
<tal:block tal:condition="empty">-</tal:block>\n <tal:block tal:condition="empty"><span tal:attributes="class editable_field_css">-</span></tal:block>\n
<tal:block tal:condition="not: empty"\n <tal:block tal:condition="not: empty" tal:replace="structure html">value</tal:block>\n
tal:replace="structure html">value</tal:block>\n
</td>\n </td>\n
</tal:block>\n </tal:block>\n
</tal:block>\n
</tr>\n </tr>\n
</tal:block>\n
</tbody>\n </tbody>\n
\n
\n \n
</table>\n </table>\n
\n \n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
<!-- ListBox ends here. -->\n <!-- ListBox ends here -->\n
\n \n
</tal:block>\n </tal:block>
]]></string> </value> ]]></string> </value>
</item> </item>
......
...@@ -30,6 +30,16 @@ ...@@ -30,6 +30,16 @@
<none/> <none/>
</value> </value>
</item> </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> <item>
<key> <string>groups</string> </key> <key> <string>groups</string> </key>
<value> <value>
...@@ -44,6 +54,10 @@ ...@@ -44,6 +54,10 @@
<key> <string>initial_state</string> </key> <key> <string>initial_state</string> </key>
<value> <string>draft</string> </value> <value> <string>draft</string> </value>
</item> </item>
<item>
<key> <string>manager_bypass</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>permissions</string> </key> <key> <string>permissions</string> </key>
<value> <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 2006-06-15 Kevin
* Move fulltext indexing ZSQLMethods to erp5_core. * Move fulltext indexing ZSQLMethods to erp5_core.
......
53 59
\ No newline at end of file \ No newline at end of file
0.2 0.2.1
\ No newline at end of file \ 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