svn commit: r815862 - /ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r815862 - /ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl

doogie-3
Author: doogie
Date: Wed Sep 16 16:25:08 2009
New Revision: 815862

URL: http://svn.apache.org/viewvc?rev=815862&view=rev
Log:
Apply a similiar fix for OFBIZ-2943, to allow sending emails from the
profile page when the current UserLogin has no assigned party.

Modified:
    ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl

Modified: ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl?rev=815862&r1=815861&r2=815862&view=diff
==============================================================================
--- ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl (original)
+++ ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/viewprofile.ftl Wed Sep 16 16:25:08 2009
@@ -209,7 +209,7 @@
                 <#elseif "EMAIL_ADDRESS" = contactMech.contactMechTypeId>
                   <div>
                     ${contactMech.infoString?if_exists}
-                    <a href="<@ofbizUrl>EditCommunicationEvent?partyIdFrom=${userLogin.partyId}&partyId=${party.partyId}&communicationEventTypeId=EMAIL_COMMUNICATION&contactMechIdTo=${contactMech.contactMechId}&contactMechTypeId=EMAIL_ADDRESS<#if thisUserPrimaryEmail?has_content>&contactMechIdFrom=${thisUserPrimaryEmail.contactMechId}</#if></@ofbizUrl>">(${uiLabelMap.CommonSendEmail})</a>
+                    <a href="<@ofbizUrl>EditCommunicationEvent?<#if userLogin.partyId?has_content>partyIdFrom=${userLogin.partyId}&</#if>partyId=${party.partyId}&communicationEventTypeId=EMAIL_COMMUNICATION&contactMechIdTo=${contactMech.contactMechId}&contactMechTypeId=EMAIL_ADDRESS<#if thisUserPrimaryEmail?has_content>&contactMechIdFrom=${thisUserPrimaryEmail.contactMechId}</#if></@ofbizUrl>">(${uiLabelMap.CommonSendEmail})</a>
                   </div>
                 <#elseif "WEB_ADDRESS" = contactMech.contactMechTypeId>
                   <div>