Removed all occurrences of <div class="screenlet-header"><div class="boxhead"></div></div> Replaced with the new <div class="screenlet-title-bar"><div class="h3"></div></div> git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821476 13f79535-47bb-0310-9956-ffa450edef68
79 lines
4.1 KiB
Plaintext
79 lines
4.1 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<#if fulfillContactMech?has_content>
|
|
|
|
<#if "POSTAL_ADDRESS" == fulfillContactMech.contactMechTypeId>
|
|
<#assign label = uiLabelMap.PartyAddressMailingShipping>
|
|
<#assign postalAddress = fulfillContactMech.getRelatedOneCache("PostalAddress")?if_exists>
|
|
<#elseif "EMAIL_ADDRESS" == fulfillContactMech.contactMechTypeId>
|
|
<#assign label = uiLabelMap.PartyToEmailAddress>
|
|
<#assign emailAddress = fulfillContactMech.infoString?if_exists>
|
|
<#elseif "TELECOM_NUMBER" == fulfillContactMech.contactMechTypeId>
|
|
<#assign label = uiLabelMap.PartyPhoneNumber>
|
|
<#assign telecomNumber = fulfillContactMech.getRelatedOneCache("TelecomNumber")?if_exists>
|
|
</#if>
|
|
|
|
<div class="screenlet">
|
|
<div class="screenlet-title-bar">
|
|
<div class="h3">${uiLabelMap.PartyContactInformation}</div>
|
|
</div>
|
|
<div class="screenlet-body">
|
|
<table cellspacing="0" class="basic-table">
|
|
<tr>
|
|
<td align="right" valign="top" width="25%" class="label">
|
|
${label?default(uiLabelMap.PartyUnknown)}
|
|
</td>
|
|
<td width="5%"> </td>
|
|
<td valign="top" width="70%">
|
|
<div>
|
|
<#if emailAddress?has_content>${emailAddress}</#if>
|
|
|
|
<#if postalAddress?has_content>
|
|
<#if postalAddress.toName?has_content><span class="label">${uiLabelMap.PartyAddrToName}</span> ${postalAddress.toName}<br/></#if>
|
|
<#if postalAddress.attnName?has_content><span class="label">${uiLabelMap.PartyAddrAttnName}</span> ${postalAddress.attnName}<br/></#if>
|
|
${postalAddress.address1?if_exists}<br/>
|
|
<#if postalAddress.address2?has_content>${postalAddress.address2}<br/></#if>
|
|
${postalAddress.city?if_exists},
|
|
<#if postalAddress.stateProvinceGeoId?has_content>
|
|
<#assign stateProvince = postalAddress.getRelatedOneCache("StateProvinceGeo")>
|
|
${stateProvince.abbreviation?default(stateProvince.geoId)}
|
|
</#if>
|
|
${postalAddress.postalCode?if_exists}
|
|
<#if postalAddress.countryGeoId?has_content><br/>
|
|
<#assign country = postalAddress.getRelatedOneCache("CountryGeo")>
|
|
${country.geoName?default(country.geoId)}
|
|
</#if>
|
|
</#if>
|
|
|
|
<#if telecomNumber?has_content>
|
|
${telecomNumber.countryCode?if_exists}
|
|
<#if telecomNumber.areaCode?has_content>${telecomNumber.areaCode?default("000")}-</#if>${telecomNumber.contactNumber?default("000-0000")}
|
|
<#if (telecomNumber?has_content && !telecomNumber.countryCode?has_content) || telecomNumber.countryCode = "011">
|
|
<a target="_blank" href="${uiLabelMap.CommonLookupAnywhoLink}" class="buttontext">${uiLabelMap.CommonLookupAnywho}</a>
|
|
<a target="_blank" href="${uiLabelMap.CommonLookupWhitepagesTelNumberLink}" class="buttontext">${uiLabelMap.CommonLookupWhitepages}</a>
|
|
</#if>
|
|
</#if>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</#if> |