📄 viewemail.ftl
字号:
<#-- * Copyright (C) 2006 Open Source Strategies, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA--><#-- Copyright (c) 2005-2006 Open Source Strategies, Inc. --><div class="form"> <div class="formRow"> <span class="formLabel">${uiLabelMap.CrmEmailParty}</span> <span class="formInputSpan"> <#if internalPartyTarget?exists> <a class="buttontext" href="${internalPartyTarget}?partyId=${internalParty.partyId}"> ${internalParty.groupName?if_exists} ${internalParty.firstName?if_exists} ${internalParty.lastName?if_exists} (${internalParty.partyId}) </a> <#elseif internalParty?exists> ${internalParty.groupName?if_exists} ${internalParty.firstName?if_exists} ${internalParty.lastName?if_exists} </#if> </span> </div> <div class="formRow"> <span class="formLabel">${uiLabelMap.CommonFrom}</span> <span class="formInputSpan">${fromEmail?if_exists} <#if fromParty?has_content>(${fromParty.firstName} ${fromParty.lastName})</#if></span> </div> <#if toEmail?has_content> <div class="formRow"> <span class="formLabel">${uiLabelMap.CommonTo}</span> <span class="formInputSpan">${toEmail}<#if otherEmailAddresses?has_content><#list otherEmailAddresses as emailAddress>, ${emailAddress}</#list></#if> </span> </div> </#if> <#if salesOpportunity?exists> <div class="formRow"> <span class="formLabel">${uiLabelMap.CrmOpportunity}</span> <span class="formInputSpan">${salesOpportunity.opportunityName} </span> </div> </#if> <#if custRequest?exists> <div class="formRow"> <span class="formLabel">${uiLabelMap.CrmCase}</span> <span class="formInputSpan">${custRequest.custRequestName} </span> </div> </#if> <div class="formRow"> <span class="formLabel">${uiLabelMap.PartySubject}</span> <span class="formInputSpan">${communicationEvent.subject}</span> </div> <#if attachments?has_content> <div class="formRow"> <span class="formLabel">${uiLabelMap.CrmEmailAttachments}</span> <span class="formInputSpan"><#list attachments as attachment><a href="/partymgr/control/ViewSimpleContent?contentId=${attachment.contentId}" class="buttontext">${attachment.contentName}</a><br><br></#list> </span> </div> </#if> <#if communicationEvent.contentMimeTypeId?exists && communicationEvent.contentMimeTypeId == "text/html"> <#assign textModeClass = "smallSubmit"> <#assign htmlModeClass = "smallSubmitDisabled"> <#assign textOnClick = "javascript:text_mode()"> <#assign htmlOnClick = ""> </#if> <div class="formRow"> <span class="formLabel">${uiLabelMap.CommonMessage}</span> <span class="formInputSpan"> <#if (communicationEvent.contentMimeTypeId?has_content) && (communicationEvent.contentMimeTypeId == "text/plain")> <textarea class="inputBox" cols="100" rows="20" readonly>${communicationEvent.content?if_exists}</textarea> <#else> <#-- wrap html emails around a little box --> <div class="form"> ${communicationEvent.content?if_exists} </div> </#if> </span> </div> <div class="spacer"> </div></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -