[Erp5-dev] [Erp5-report] r28296 - in /erp5/trunk/bt5/erp5_dms: SkinTemplateItem/portal_skins/erp5_dms/...

Fabien MORIN fabien at nexedi.com
Thu Aug 6 11:06:23 CEST 2009


Le jeudi 6 août 2009 11:01:22 nobody at svn.erp5.org, vous avez écrit :
> Author: fabien
> Date: Thu Aug  6 11:01:21 2009
> New Revision: 28296
>
> URL: http://svn.erp5.org?rev=28296&view=rev
> Log:
> delegate css_class

sorry, comment should be :
- add css_class to validation state field. In this way we are able to display 
each state in a different style (ie. one color for one state).

>
> Modified:
>    
> erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/WebPage_view
>/my_translated_validation_state_title.xml
> erp5/trunk/bt5/erp5_dms/bt/revision
>
> Modified:
> erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/WebPage_view
>/my_translated_validation_state_title.xml URL:
> http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/e
>rp5_dms/WebPage_view/my_translated_validation_state_title.xml?rev=28296&r1=2
>8295&r2=28296&view=diff
> ===========================================================================
>=== ---
> erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/WebPage_view
>/my_translated_validation_state_title.xml [utf8] (original) +++
> erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/WebPage_view
>/my_translated_validation_state_title.xml [utf8] Thu Aug  6 11:01:21 2009 @@
> -12,7 +12,9 @@
>          <item>
>              <key> <string>delegated_list</string> </key>
>              <value>
> -              <list/>
> +              <list>
> +                <string>css_class</string>
> +              </list>
>              </value>
>          </item>
>          <item>
> @@ -54,6 +56,12 @@
>              <value>
>                <dictionary>
>                  <item>
> +                    <key> <string>css_class</string> </key>
> +                    <value>
> +                      <persistent> <string
> encoding="base64">AAAAAAAAAAI=</string> </persistent> +                   
> </value>
> +                </item>
> +                <item>
>                      <key> <string>field_id</string> </key>
>                      <value> <string></string> </value>
>                  </item>
> @@ -73,6 +81,10 @@
>              <value>
>                <dictionary>
>                  <item>
> +                    <key> <string>css_class</string> </key>
> +                    <value> <string></string> </value>
> +                </item>
> +                <item>
>                      <key> <string>field_id</string> </key>
>                      <value>
> <string>my_translated_validation_state_title</string> </value> </item>
> @@ -90,4 +102,20 @@
>        </dictionary>
>      </pickle>
>    </record>
> +  <record id="2" aka="AAAAAAAAAAI=">
> +    <pickle>
> +      <tuple>
> +        <global name="TALESMethod"
> module="Products.Formulator.TALESField"/> +        <tuple/>
> +      </tuple>
> +    </pickle>
> +    <pickle>
> +      <dictionary>
> +        <item>
> +            <key> <string>_text</string> </key>
> +            <value> <string>python: \'status %s\' %
> context.getValidationState()</string> </value> +        </item>
> +      </dictionary>
> +    </pickle>
> +  </record>
>  </ZopeData>
>
> Modified: erp5/trunk/bt5/erp5_dms/bt/revision
> URL:
> http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/bt/revision?rev=28296&r1=28295&
>r2=28296&view=diff
> ===========================================================================
>=== --- erp5/trunk/bt5/erp5_dms/bt/revision [utf8] (original)
> +++ erp5/trunk/bt5/erp5_dms/bt/revision [utf8] Thu Aug  6 11:01:21 2009
> @@ -1,1 +1,1 @@
> -1001
> +1000
>
> _______________________________________________
> Erp5-report mailing list
> Erp5-report at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-report

-- 
Fabien Morin
Développeur - Nexedi SA
fabien at nexedi.com
http://www.erp5.com - Free / Open Source ERP



More information about the Erp5-dev mailing list