(OFBIZ-7949) For improved FTL code readability. Here is the first patch for the effort. There are still files which are required to be formatted. Thanks: Vaibhav Jain for the contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1761135 13f79535-47bb-0310-9956-ffa450edef68
104 lines
4.1 KiB
Plaintext
104 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.
|
|
-->
|
|
|
|
<div class="screenlet">
|
|
<h3>${uiLabelMap.EcommerceMyAccount}</h3>
|
|
<div class="screenlet-body clearfix">
|
|
<div>
|
|
<a class="button" href="<@ofbizUrl>editProfile</@ofbizUrl>">${uiLabelMap.EcommerceEditProfile}</a>
|
|
<h3>${uiLabelMap.PartyContactInformation}</h3>
|
|
<label>${firstName!} ${lastName!}</label>
|
|
<input type="hidden" id="updatedEmailContactMechId" name="emailContactMechId" value="${emailContactMechId!}" />
|
|
<input type="hidden" id="updatedEmailAddress" name="updatedEmailAddress" value="${emailAddress!}" />
|
|
<#if emailAddress??>
|
|
<label>${emailAddress!}</label>
|
|
<a href="mailto:${emailAddress!}" class="linktext">(${uiLabelMap.PartySendEmail})</a>
|
|
</#if>
|
|
<div id="serverError_${emailContactMechId!}" class="errorMessage"></div>
|
|
</div>
|
|
<#-- Manage Addresses -->
|
|
<div>
|
|
<a class="button" href="<@ofbizUrl>manageAddress</@ofbizUrl>">${uiLabelMap.EcommerceManageAddresses}</a>
|
|
<h3>${uiLabelMap.EcommerceAddressBook}</h3>
|
|
<div class="left center">
|
|
<h3>${uiLabelMap.EcommercePrimaryShippingAddress}</h3>
|
|
<ul>
|
|
<#if shipToContactMechId??>
|
|
<li>${shipToAddress1!}</li>
|
|
<#if shipToAddress2?has_content><li>${shipToAddress2!}</li></#if>
|
|
<li>
|
|
<ul>
|
|
<li>
|
|
<#if shipToStateProvinceGeoId?has_content && shipToStateProvinceGeoId != "_NA_">
|
|
${shipToStateProvinceGeoId}
|
|
</#if>
|
|
${shipToCity!},
|
|
${shipToPostalCode!}
|
|
</li>
|
|
<li>${shipToCountryGeoId!}</li>
|
|
</ul>
|
|
</li>
|
|
<#if shipToTelecomNumber?has_content>
|
|
<li>
|
|
${shipToTelecomNumber.countryCode!}-
|
|
${shipToTelecomNumber.areaCode!}-
|
|
${shipToTelecomNumber.contactNumber!}
|
|
<#if shipToExtension??>-${shipToExtension!}</#if>
|
|
</li>
|
|
</#if>
|
|
<#else>
|
|
<li>${uiLabelMap.PartyPostalInformationNotFound}</li>
|
|
</#if>
|
|
</ul>
|
|
</div>
|
|
<div class="right center">
|
|
<h3>${uiLabelMap.EcommercePrimaryBillingAddress}</h3>
|
|
<ul>
|
|
<#if billToContactMechId??>
|
|
<li>${billToAddress1!}</li>
|
|
<#if billToAddress2?has_content><li>${billToAddress2!}</li></#if>
|
|
<li>
|
|
<ul>
|
|
<li>
|
|
<#if billToStateProvinceGeoId?has_content && billToStateProvinceGeoId != "_NA_">
|
|
${billToStateProvinceGeoId}
|
|
</#if>
|
|
${billToCity!},
|
|
${billToPostalCode!}
|
|
</li>
|
|
<li>${billToCountryGeoId!}</li>
|
|
</ul>
|
|
</li>
|
|
<#if billToTelecomNumber?has_content>
|
|
<li>
|
|
${billToTelecomNumber.countryCode!}-
|
|
${billToTelecomNumber.areaCode!}-
|
|
${billToTelecomNumber.contactNumber!}
|
|
<#if billToExtension??>-${billToExtension!}</#if>
|
|
</li>
|
|
</#if>
|
|
<#else>
|
|
<li>${uiLabelMap.PartyPostalInformationNotFound}</li>
|
|
</#if>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|