Author: hansbak
Date: Tue Dec 13 08:49:08 2011
New Revision: 1213599

URL: http://svn.apache.org/viewvc?rev=1213599&view=rev
Log:
show personal image if the party is a person

Modified:
    ofbiz/trunk/applications/party/config/PartyUiLabels.xml
    ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml
    ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml

Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyUiLabels.xml?rev=1213599&r1=1213598&r2=1213599&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/trunk/applications/party/config/PartyUiLabels.xml Tue Dec 13 08:49:08 
2011
@@ -1196,6 +1196,9 @@
         <value xml:lang="zh">称谓</value>
         <value xml:lang="zh_TW">稱謂</value>
     </property>
+    <property key="FormFieldTitle_personalImage">
+        <value xml:lang="en">Personal Image</value>
+    </property>
     <property key="FormFieldTitle_preferredContactMechId">
         <value xml:lang="de">Bevorzugter Kontaktmechanismus ID</value>
         <value xml:lang="en">Preferred Contact Mech Id</value>

Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml?rev=1213599&r1=1213598&r2=1213599&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml Tue Dec 13 
08:49:08 2011
@@ -159,6 +159,7 @@ under the License.
     </form>
 
     <form name="ViewPartyPerson" type="single" default-map-name="lookupPerson">
+        <field name="personalImage" use-when="partyContentId!=null" 
title="${uiLabelMap.FormFieldTitle_personalImage}"><image 
value="${personalImage}"/></field>
         <field name="partyId"><display/></field>
         <field name="name" title="${uiLabelMap.PartyName}"><display 
description="${lookupPerson.personalTitle} ${lookupPerson.firstName} 
${lookupPerson.middleName} ${lookupPerson.lastName}"/></field>
         <field name="comments" 
title="${uiLabelMap.PartyComments}"><display/></field>

Modified: ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?rev=1213599&r1=1213598&r2=1213599&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Tue Dec 
13 08:49:08 2011
@@ -43,6 +43,7 @@
                 <set field="partyContentId" 
from-field="partyContentList[0].contentId"/>
                 <set field="partyContent" value="${groovy: 
partyContentId!=null?&quot;/content/control/stream?contentId=&quot; + 
partyContentId : &quot;&quot;}"/>
                 <set field="partyGroupLogoLinkUrl" from-field="partyContent" 
default-value="${lookupGroup.logoImageUrl}" global="true"/>
+                <set field="personalImage" from-field="partyContent"/>
             </actions>
             <widgets>
                 <section>


Reply via email to