diff --git a/ecommerce/template/customer/MessageDetail.ftl b/ecommerce/template/customer/MessageDetail.ftl index 7ff8a5423..0e5f530b0 100644 --- a/ecommerce/template/customer/MessageDetail.ftl +++ b/ecommerce/template/customer/MessageDetail.ftl @@ -27,8 +27,8 @@ under the License. Static["org.apache.ofbiz.party.party.PartyHelper"].getPartyName(delegator, communicationEvent.partyIdTo, true)> -
-
+
+
-
${uiLabelMap.EcommerceReadMessage}
+ ${uiLabelMap.EcommerceReadMessage}
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
-
${uiLabelMap.CommonFrom}:
-
-
${fromName!}
-
-
${uiLabelMap.CommonTo}:
-
-
${toName!}
-
-
${uiLabelMap.CommonDate}:
-
-
${communicationEvent.entryDate}
-
-
${uiLabelMap.EcommerceSubject}:
-
-
 ${(communicationEvent.subject)?default("[${uiLabelMap.EcommerceNoSubject}]")}
-
 
  -
${StringUtil.wrapString(communicationEvent.content)?default("[${uiLabelMap.EcommerceEmptyBody}]")}
-
+
+
+
+ ${uiLabelMap.CommonFrom} : +
+
+ ${fromName?default("N/A")} +
+
+
+
+
+ ${uiLabelMap.CommonTo} : +
+
+ ${toName?default("N/A")} +
+
+
+
+
+ ${uiLabelMap.CommonDate} : +
+
+ ${communicationEvent.entryDate?default("N/A")} +
+
+
+
+
+ ${uiLabelMap.EcommerceSubject} : +
+
+ ${(communicationEvent.subject)?default("[${uiLabelMap.EcommerceNoSubject}]")} +
+
+
+
+
+
+
+ ${StringUtil.wrapString(communicationEvent.content)?default("[${uiLabelMap.EcommerceEmptyBody}]")} +
+
diff --git a/ecommerce/template/customer/MessageList.ftl b/ecommerce/template/customer/MessageList.ftl index ca0a4eb86..281515ce7 100644 --- a/ecommerce/template/customer/MessageList.ftl +++ b/ecommerce/template/customer/MessageList.ftl @@ -30,20 +30,21 @@ under the License. <#else> <#assign partyNameTo = "${uiLabelMap.CommonNA}"> + -
${partyNameFrom}
+ ${partyNameFrom} -
${partyNameTo}
+ ${partyNameTo} -
${communicationEvent.subject?default("")}
+ ${communicationEvent.subject?default("N/A")} -
${communicationEvent.entryDate}
+ ${communicationEvent.entryDate} - +
@@ -56,10 +57,11 @@ under the License. + -
-
+
+
-
${uiLabelMap.CommonMessages}
+ ${uiLabelMap.CommonMessages}
-
- +
+
<#if (!receivedCommunicationEvents?has_content && !sentCommunicationEvents?has_content)> - - - + <#else> - - - - - - - - - - + + + + + + + + + <#list receivedCommunicationEvents! as receivedCommunicationEvent> <@showMessage communicationEvent=receivedCommunicationEvent isSentMessage=false index=receivedCommunicationEvent_index/> diff --git a/ecommerce/template/customer/NewMsg.ftl b/ecommerce/template/customer/NewMsg.ftl index 11f17731b..8810b344d 100644 --- a/ecommerce/template/customer/NewMsg.ftl +++ b/ecommerce/template/customer/NewMsg.ftl @@ -17,16 +17,16 @@ specific language governing permissions and limitations under the License. --> -
-
+
+
-
${pageHeader}
+ ${pageHeader}
-
+
@@ -45,82 +45,61 @@ under the License. -
-
${uiLabelMap.EcommerceNoMessages}.
-
-
${uiLabelMap.CommonFrom}
-
-
${uiLabelMap.CommonTo}
-
-
${uiLabelMap.EcommerceSubject}
-
-
${uiLabelMap.EcommerceSentDate}
-
 
-
-
+ ${uiLabelMap.CommonFrom} + + ${uiLabelMap.CommonTo} + + ${uiLabelMap.EcommerceSubject} + + ${uiLabelMap.EcommerceSentDate} +
- - - - - - - - - <#if partyIdTo?has_content> - <#assign partyToName = - Static["org.apache.ofbiz.party.party.PartyHelper"].getPartyName(delegator, partyIdTo, true)> - - - - - - - - - - - - - - <#assign defaultSubject = (communicationEvent.subject)?default("")> - <#if (defaultSubject?length == 0)> - <#assign replyPrefix = "RE: "> - <#if parentEvent?has_content> - <#if !parentEvent.subject?default("")?upper_case?starts_with(replyPrefix)> - <#assign defaultSubject = replyPrefix> - - <#assign defaultSubject = defaultSubject + parentEvent.subject?default("")> +
+
+ ${uiLabelMap.CommonFrom} : +
+
+ ${sessionAttributes.autoName!} [${userLogin.partyId}] (${uiLabelMap.CommonNotYou}? ${uiLabelMap.CommonClickHere}) +
+
+
+ <#if partyIdTo?has_content> + <#assign partyToName = + Static["org.apache.ofbiz.party.party.PartyHelper"].getPartyName(delegator, partyIdTo, true)> + +
+
+ ${uiLabelMap.CommonTo} : +
+
+ ${partyToName?default("N/A")} +
+
+ + <#assign defaultSubject = (communicationEvent.subject)?default("")> + <#if (defaultSubject?length == 0)> + <#assign replyPrefix = "RE: "> + <#if parentEvent?has_content> + <#if !parentEvent.subject?default("")?upper_case?starts_with(replyPrefix)> + <#assign defaultSubject = replyPrefix> + <#assign defaultSubject = defaultSubject + parentEvent.subject?default("")> - - - - - - - - - - - - - - - - - - - - - - - -
 
  -
${uiLabelMap.CommonFrom}:
-
-
 ${sessionAttributes.autoName!} [${userLogin.partyId}] (${uiLabelMap.CommonNotYou}? ${uiLabelMap.CommonClickHere}) -
-
 
  -
${uiLabelMap.CommonTo}:
-
-
 ${partyToName}
-
 
  -
${uiLabelMap.EcommerceSubject}:
-
-
 
  -
${uiLabelMap.CommonMessage}:
-
 
  - -
 
 
+ +
+
+ ${uiLabelMap.EcommerceSubject} : +
+
+ +
+
+
+
+
+ ${uiLabelMap.CommonMessage} : +
+
+ +
+
+
+
+ +
+