[Erp5-report] r24204 - in /erp5/trunk/bt5/erp5_egov: SkinTemplateItem/portal_skins/erp5_ego...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 15 18:05:59 CEST 2008


Author: fabien
Date: Wed Oct 15 18:05:56 2008
New Revision: 24204

URL: http://svn.erp5.org?rev=24204&view=rev
Log:
make possible to return on the form page, even if the form has been submitted, this permit to see what have been entered in the form, but it's not possible to modify it.

Modified:
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.css.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.xml
    erp5/trunk/bt5/erp5_egov/bt/change_log
    erp5/trunk/bt5/erp5_egov/bt/revision

Modified: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.css.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.css.xml?rev=24204&r1=24203&r2=24204&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.css.xml (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.css.xml Wed Oct 15 18:05:56 2008
@@ -98,7 +98,8 @@
   background: #DDF;\n
 }\n
 \n
-.submission_wizard .actions li .enable{\n
+.submission_wizard .actions li .enable,\n
+.submission_wizard .actions li .disable{\n
   text-decoration: underline;\n
 }\n
 \n

Modified: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.xml?rev=24204&r1=24203&r2=24204&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.xml (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewSubmissionWizardRenderer.xml Wed Oct 15 18:05:56 2008
@@ -75,15 +75,23 @@
               <li>\n
                 <tal:block tal:condition="python: here.getValidationState() in state_dict[action[\'name\']]">\n
                   <tal:block tal:condition="python: current_action[\'name\'] != action[\'name\']">\n
-                    <a tal:attributes="href python: \'%s%s%s\' % (action[\'url\'], \'?\' in action[\'url\'] and \'&amp;\' or \'?\', http_parameters)"\n
-                      ><span class="enable" i18n:translate="" i18n:domain="ui" tal:content="python:action_dict.get(action[\'name\'])">action_name</span></a>\n
+                    <a tal:attributes="href python: \'%s%s%s\' % (action[\'url\'], \'?\' in action[\'url\'] and \'&amp;\' or \'?\', http_parameters)">\n
+                      <span class="enable" i18n:translate="" i18n:domain="ui" tal:content="python:action_dict.get(action[\'name\'])">action_name</span>\n
+                    </a>\n
                   </tal:block>\n
                   <tal:block tal:condition="python: current_action[\'name\'] == action[\'name\']">\n
                     <span class="current" i18n:translate="" i18n:domain="ui" tal:content="python:action_dict.get(action[\'name\'])">action_name</span>\n
                   </tal:block>\n
                 </tal:block>\n
                 <tal:block tal:condition="python: here.getValidationState() not in state_dict[action[\'name\']]">\n
-                  <span class="disable" i18n:translate="" i18n:domain="ui" tal:content="python:action_dict.get(action[\'name\'])">action_name</span>\n
+                  <a tal:attributes="href python: \'%s%s%s\' % (action[\'url\'], \'?\' in action[\'url\'] and \'&amp;\' or \'?\', http_parameters)">\n
+                    <tal:block tal:condition="python:current_action[\'name\'] == action[\'name\']">\n
+                      <span class="disable current" i18n:translate="" i18n:domain="ui" tal:content="python:action_dict.get(action[\'name\'])">action_name</span>\n
+                    </tal:block>\n
+                    <tal:block tal:condition="python:current_action[\'name\'] != action[\'name\']">\n
+                      <span class="disable" i18n:translate="" i18n:domain="ui" tal:content="python:action_dict.get(action[\'name\'])">action_name</span>\n
+                    </tal:block>\n
+                  </a>\n
                 </tal:block>\n
                 <span class="fleche" tal:condition="python: actions.index(action) < len(actions)-(action_not_in_dict_count+1)">\n
                   <img alt="Arrow image" src="img/fleche.png"/>\n

Modified: erp5/trunk/bt5/erp5_egov/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/bt/change_log?rev=24204&r1=24203&r2=24204&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_egov/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_egov/bt/change_log Wed Oct 15 18:05:56 2008
@@ -2,7 +2,8 @@
 * update some listbox to display the last application in first
 * update css
 * add some rights on assignee to the validated state on egov_universal_workflow. This avoid a security error if an agent have an assigned application and refuse it (it will change the state of the application to validated and redirect the agent on it).
-* update some listbox to be able to handle searchable text and to be able to sort application by modification date (descending).
+* update some listbox to be able to handle searchable text and to be able to sort application by modification date (descending)
+* make possible to return on the form page, even if the form has been submitted, this permit to see what have been entered in the form, but it's not possible to modify it.
 
 2008-10-10 fabien
 bring some corrections after the Mme Ba review :

Modified: erp5/trunk/bt5/erp5_egov/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/bt/revision?rev=24204&r1=24203&r2=24204&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_egov/bt/revision (original)
+++ erp5/trunk/bt5/erp5_egov/bt/revision Wed Oct 15 18:05:56 2008
@@ -1,1 +1,1 @@
-395
+397




More information about the Erp5-report mailing list