Author: pranayp
Date: Sat Sep 17 11:13:24 2016
New Revision: 1761197

URL: http://svn.apache.org/viewvc?rev=1761197&view=rev
Log:
Improved: Content: Aligned column titles in list forms.
(OFBIZ-8272)

Thanks: Aditi Patidar for reporting and providing the patch.


Modified:
    ofbiz/trunk/applications/content/widget/compdoc/CompDocForms.xml
    ofbiz/trunk/applications/content/widget/content/ContentForms.xml
    ofbiz/trunk/applications/content/widget/contentsetup/ContentSetupForms.xml
    ofbiz/trunk/applications/content/widget/datasetup/DataSetupForms.xml
    ofbiz/trunk/applications/content/widget/survey/SurveyForms.xml
    ofbiz/trunk/applications/content/widget/website/WebSiteForms.xml

Modified: ofbiz/trunk/applications/content/widget/compdoc/CompDocForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/compdoc/CompDocForms.xml?rev=1761197&r1=1761196&r2=1761197&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/compdoc/CompDocForms.xml (original)
+++ ofbiz/trunk/applications/content/widget/compdoc/CompDocForms.xml Sat Sep 17 
11:13:24 2016
@@ -307,7 +307,7 @@ under the License.
     </form>
 
     <form name="ListWaitingContentApproval" 
target="updateWaitingContentApproval" list-name="contentApprovalList" 
type="list"
-        odd-row-style="alternate-row" default-table-style="basic-table 
hover-bar">
+        odd-row-style="alternate-row" default-table-style="basic-table 
hover-bar" separate-columns="true">
         <field name="contentApprovalId"><display/></field>
         <field name="contentId"><hidden/></field>
         <field name="rootContentId" map-name="empty"><hidden/></field>

Modified: ofbiz/trunk/applications/content/widget/content/ContentForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentForms.xml?rev=1761197&r1=1761196&r2=1761197&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/content/ContentForms.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/ContentForms.xml Sat Sep 17 
11:13:24 2016
@@ -364,7 +364,7 @@ under the License.
         <field name="submitButton" title="${uiLabelMap.CommonUpdate}" 
widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
     <form name="ListContentRole" 
target="update${contentRoleTarget}ContentRole" title="" type="list"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
             <entity-and entity-name="ContentRole" use-cache="true">
                 <field-map from-field="contentId" field-name="contentId"/>
@@ -401,7 +401,7 @@ under the License.
         <field name="submitButton" title="${uiLabelMap.CommonAdd}" 
widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
     <form name="ListContentPurpose" target="updateContentPurpose" title="" 
type="list"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
             <entity-and entity-name="ContentPurpose" use-cache="true">
                 <field-map from-field="contentId" field-name="contentId"/>
@@ -473,7 +473,7 @@ under the License.
         <field name="thruDate"><display type="date"/></field>
     </form>
     <form name="ListContentMetaData" target="updateContentMetaData" title="" 
type="list"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
             <entity-and entity-name="ContentMetaData" use-cache="true">
                 <field-map from-field="contentId" field-name="contentId"/>
@@ -528,7 +528,7 @@ under the License.
         <field name="submitButton" title="${uiLabelMap.CommonAdd}" 
widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
     <form name="ListWorkEffortContents" type="list" 
target="updateWorkEffortContent" list-name="workEffortContents"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
             <entity-and entity-name="WorkEffortContent" use-cache="true" 
list="workEffortContents">
                 <field-map from-field="contentId" field-name="contentId"/>

Modified: 
ofbiz/trunk/applications/content/widget/contentsetup/ContentSetupForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/contentsetup/ContentSetupForms.xml?rev=1761197&r1=1761196&r2=1761197&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/contentsetup/ContentSetupForms.xml 
(original)
+++ ofbiz/trunk/applications/content/widget/contentsetup/ContentSetupForms.xml 
Sat Sep 17 11:13:24 2016
@@ -29,7 +29,7 @@ under the License.
         </field>
     </form>
     <form name="UpdateContentType" list-name="contentList" 
target="updateContentType" title="" type="list"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
           <entity-condition entity-name="ContentType" use-cache="false"/>
         </actions>
@@ -143,7 +143,7 @@ under the License.
         </field>
     </form>
     <form name="UpdateContentAssocPredicate" list-name="contentList" 
target="updateContentAssocPredicate" title="" type="list"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
             <entity-condition entity-name="ContentAssocPredicate" 
use-cache="false"/>
         </actions>
@@ -170,7 +170,7 @@ under the License.
         </field>
     </form>
     <form name="UpdateContentOperation" list-name="contentList" 
target="updateContentOperation" title="" type="list"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
             <entity-condition entity-name="ContentOperation" 
use-cache="false"/>
         </actions>

Modified: ofbiz/trunk/applications/content/widget/datasetup/DataSetupForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/datasetup/DataSetupForms.xml?rev=1761197&r1=1761196&r2=1761197&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/datasetup/DataSetupForms.xml 
(original)
+++ ofbiz/trunk/applications/content/widget/datasetup/DataSetupForms.xml Sat 
Sep 17 11:13:24 2016
@@ -29,7 +29,7 @@ under the License.
         </field>
     </form>
     <form name="UpdateDataResourceType" list-name="contentList" 
target="updateDataResourceType" title="" type="list" 
paginate-target="EditDataResourceType"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
           <entity-condition entity-name="DataResourceType" use-cache="false"/>
         </actions>
@@ -89,7 +89,7 @@ under the License.
         </field>
     </form>
     <form name="UpdateCharacterSet" list-name="contentList" 
target="updateCharacterSet" title="" type="list" 
paginate-target="EditCharacterSet"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
           <entity-condition entity-name="CharacterSet" use-cache="false"/>
         </actions>
@@ -121,7 +121,7 @@ under the License.
         </field>
     </form>
     <form name="UpdateDataCategory" list-name="dataCategoryList" 
target="updateDataCategory" title="" type="list" 
paginate-target="EditDataCategory"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
             <entity-condition entity-name="DataCategory" use-cache="false"/>
         </actions>
@@ -193,7 +193,8 @@ under the License.
         </field>
     </form>
     <form name="UpdateMetaDataPredicate" list-name="contentList" 
target="updateMetaDataPredicate" title="" type="list"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" 
paginate-target="EditMetaDataPredicate">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" 
paginate-target="EditMetaDataPredicate"
+        separate-columns="true">
         <actions>
           <entity-condition entity-name="MetaDataPredicate" use-cache="false"/>
         </actions>
@@ -220,7 +221,7 @@ under the License.
         </field>
     </form>
     <form name="UpdateMimeType" list-name="contentList" 
target="updateMimeType" title="" type="list" paginate-target="EditMimeType"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
           <entity-condition entity-name="MimeType" use-cache="false"/>
         </actions>
@@ -253,7 +254,7 @@ under the License.
     </form>
 
     <form name="UpdateMimeTypeHtmlTemplate" 
target="updateMimeTypeHtmlTemplate" title="" type="list" 
list-name="contentList" paginate-target="EditMimeTypeHtmlTemplate"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
         <actions>
           <entity-condition entity-name="MimeTypeHtmlTemplate" 
use-cache="false"/>
         </actions>

Modified: ofbiz/trunk/applications/content/widget/survey/SurveyForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/survey/SurveyForms.xml?rev=1761197&r1=1761196&r2=1761197&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/survey/SurveyForms.xml (original)
+++ ofbiz/trunk/applications/content/widget/survey/SurveyForms.xml Sat Sep 17 
11:13:24 2016
@@ -108,7 +108,7 @@ under the License.
         <field name="submitButton" title="${uiLabelMap.CommonUpdate}" 
widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
     <form name="ListSurveyMultiRespColumns" type="list" 
target="updateSurveyMultiRespColumn" title="" 
list-name="surveyMultiRespColumnList"
-        odd-row-style="alternate-row" default-table-style="basic-table 
hover-bar">
+        odd-row-style="alternate-row" default-table-style="basic-table 
hover-bar" separate-columns="true">
         <actions>
             <entity-condition entity-name="SurveyMultiRespColumn">
                 <condition-list combine="and">

Modified: ofbiz/trunk/applications/content/widget/website/WebSiteForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/website/WebSiteForms.xml?rev=1761197&r1=1761196&r2=1761197&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/website/WebSiteForms.xml (original)
+++ ofbiz/trunk/applications/content/widget/website/WebSiteForms.xml Sat Sep 17 
11:13:24 2016
@@ -132,7 +132,7 @@ under the License.
     
     <!-- WebSite Content Forms -->
     <form name="ListWebSiteContent" type="list" list-name="webSiteContent" 
target="UpdateWebSiteContent"
-        paginate-target="ListWebSiteContent" paginate="true" 
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        paginate-target="ListWebSiteContent" paginate="true" 
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" 
separate-columns="true">
         <auto-fields-service service-name="updateWebSiteRole"/>
         <field name="sequenceNum"><hidden/></field>
         <field name="roleTypeId"><hidden/></field>
@@ -210,8 +210,8 @@ under the License.
         <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit 
button-type="button"/></field>
     </form>
     <form name="UpdateWebSiteRole" type="list" target="updateWebSiteRole" 
title="" list-name="webSiteRoleDatas"
-        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar">
-        <auto-fields-service service-name="updateWebSiteRole" 
map-name="webSiteRole"/>
+        odd-row-style="alternate-row" header-row-style="header-row-2" 
default-table-style="basic-table hover-bar" separate-columns="true">
+        <auto-fields-service service-name="updateWebSiteRole" 
map-name="webSiteRole" />
         <field name="webSiteId"><hidden/></field>
         <!-- three possibilities for the Party: person, partyGroup, neither... 
just print everything and if it's empty, no biggie -->
         <field name="partyId" widget-style="buttontext">
@@ -284,7 +284,7 @@ under the License.
         <field name="submitButton" 
title="${uiLabelMap.CommonCreate}"><submit/></field>
     </form>
     <form name="ViewWebSiteContactList" type="list" 
target="updateWebSiteContactList" list-name="webSiteContactLists" title="" 
-            header-row-style="header-row" default-table-style="basic-table">
+            header-row-style="header-row" default-table-style="basic-table" 
separate-columns="true">
         <actions>
             <entity-one entity-name="ContactList" value-field="contactList">
                 <field-map field-name="contactListId" 
from-field="contactListId"/>


Reply via email to