(OFBIZ-9804) Changes ContactListEmailTemplate.ftl to also use GET. Because we dont' want a form to ask, but only to hide parameters. See details in Jira. Handles the emails also in ecomseo after OFBIZ-11278 I have still to see why I get this message at the end of the process: "Invalid verify code for the New Product Announcements" ie when using the link in the last (3rd) email: "Subscribe Contact List New Product Announcements" This will be another Jira..!
45 lines
2.1 KiB
Plaintext
45 lines
2.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.
|
|
-->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<title>${title!}</title>
|
|
</head>
|
|
<body>
|
|
<#-- custom logo or text can be inserted here -->
|
|
<h1>${title!}</h1>
|
|
<#if note??><p>${note}</p></#if>
|
|
|
|
<p>Hello ${partyName.firstName!} ${partyName.lastName!} ${partyName.groupName!}!</p>
|
|
<p>We have received a request for subscription to the ${contactList.contactListName} contact list.</p>
|
|
<p>To complete your subscription click the on the following link:</p>
|
|
|
|
<#if baseLocation == "/ecomseo">
|
|
<#assign baseLocation = "/ecommerce">
|
|
</#if>
|
|
<#assign verifyUrl = baseEcommerceSecureUrl+'/'+'updateContactListPartyNoUserLogin?contactListId='+contactListParty.contactListId+'&partyId='+contactListParty.partyId+'&fromDate='+contactListParty.fromDate+'&statusId=CLPT_ACCEPTED&optInVerifyCode='+contactListPartyStatus.optInVerifyCode+'&baseLocation='+baseLocation!>
|
|
<#if (contactListParty.preferredContactMechId)??>
|
|
<#assign verifyUrl= verifyUrl+"&preferredContactMechId="+contactListParty.preferredContactMechId>
|
|
</#if>
|
|
<a href="${verifyUrl}">Please click here to verify your subscription.</a>
|
|
</body>
|
|
</html>
|