[Erp5-report] r22110 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 30 17:52:11 CEST 2008


Author: fabien
Date: Mon Jun 30 17:52:08 2008
New Revision: 22110

URL: http://svn.erp5.org?rev=22110&view=rev
Log:
add a message in case of errors on fields to be able to understand that there is a pb even if the problem appears on the bottom of a big page.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml?rev=22110&r1=22109&r2=22110&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml Mon Jun 30 17:52:08 2008
@@ -979,6 +979,17 @@
   font-weight: bold;\n
 }\n
 \n
+#information_area {\n
+  margin-top: 1em;\n
+  padding:0.5em 1em 0.5em 1em;\n
+  border-width: 1px;\n
+  border-style: solid;\n
+  border-color: <dtml-var dialog_border_color>;\n
+  color: orange;\n
+  background-color: <dtml-var document_background_color>;\n
+  font-weight: bold;\n
+}\n
+\n
 /* Content */\n
 \n
 .dialog_box {\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml?rev=22110&r1=22109&r2=22110&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml Mon Jun 30 17:52:08 2008
@@ -141,6 +141,10 @@
                 </div>\n
                 <p class="clear"></p>\n
                 <div tal:content="request/portal_status_message | nothing" id="transition_message" />\n
+                <div id="information_area" tal:condition="python: request.has_key(\'field_errors\')" \n
+                    i18n:translate="" i18n:domain="ui">\n
+                  Input data has errors. Please look at error messages below.\n
+                </div>\n
               </div>\n
               <div id="master">\n
                 <tal:block metal:define-slot="main" />\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=22110&r1=22109&r2=22110&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Mon Jun 30 17:52:08 2008
@@ -1,1 +1,1 @@
-567
+570




More information about the Erp5-report mailing list