[Erp5-report] r8624 - in /erp5/trunk/bt5/erp5_web: SkinTemplateItem/portal_skins/erp5_web/ ...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jul 20 13:10:25 CEST 2006


Author: kevin
Date: Thu Jul 20 13:10:17 2006
New Revision: 8624

URL: http://svn.erp5.org?rev=8624&view=rev
Log:
* 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.

Modified:
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ListBox_asWebStyleHTML.xml
    erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/publication_workflow.xml
    erp5/trunk/bt5/erp5_web/bt/change_log
    erp5/trunk/bt5/erp5_web/bt/revision
    erp5/trunk/bt5/erp5_web/bt/version

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ListBox_asWebStyleHTML.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ListBox_asWebStyleHTML.xml?rev=8624&r1=8623&r2=8624&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ListBox_asWebStyleHTML.xml (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ListBox_asWebStyleHTML.xml Thu Jul 20 13:10:17 2006
@@ -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
-\n
-</tal:block>\n
-
+  <!-- ListBox ends here -->\n
+\n
+</tal:block>
 
 ]]></string> </value>
         </item>

Modified: erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/publication_workflow.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/publication_workflow.xml?rev=8624&r1=8623&r2=8624&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/publication_workflow.xml (original)
+++ erp5/trunk/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/publication_workflow.xml Thu Jul 20 13:10:17 2006
@@ -31,6 +31,16 @@
             </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>
               <tuple/>
@@ -43,6 +53,10 @@
         <item>
             <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>

Modified: erp5/trunk/bt5/erp5_web/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/change_log?rev=8624&r1=8623&r2=8624&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_web/bt/change_log Thu Jul 20 13:10:17 2006
@@ -1,3 +1,7 @@
+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.
 

Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=8624&r1=8623&r2=8624&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision Thu Jul 20 13:10:17 2006
@@ -1,1 +1,1 @@
-53
+59

Modified: erp5/trunk/bt5/erp5_web/bt/version
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/version?rev=8624&r1=8623&r2=8624&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/version (original)
+++ erp5/trunk/bt5/erp5_web/bt/version Thu Jul 20 13:10:17 2006
@@ -1,1 +1,1 @@
-0.2
+0.2.1




More information about the Erp5-report mailing list