Files
CRM/layouts/vlayout/modules/Settings/EmailTemplates/ListContents.tpl
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

44 lines
1.8 KiB
Smarty

{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
-->*}
{strip}
<div id="popupPageContainer" class="popupBackgroundColor">
<div class="emailTemplatesContainer">
<h3>{vtranslate($MODULE,$QUALIFIED_MODULE)}</h3>
<hr>
<div style="padding:0 10px">
<table class="table table-bordered table-condensed">
<thead>
<tr class="listViewHeaders">
<th>
<a>{vtranslate('LBL_TEMPLATE_NAME',$QUALIFIED_MODULE)}</a>
</th>
<th>
<a>{vtranslate('LBL_SUBJECT',$QUALIFIED_MODULE)}</a>
</th>
<th>
<a>{vtranslate('LBL_DESCRIPTION',$QUALIFIED_MODULE)}</a>
</th>
</tr>
</thead>
{foreach item=EMAIL_TEMPLATE from=$EMAIL_TEMPLATES}
<tr class="listViewEntries" data-id="{$EMAIL_TEMPLATE->get('templateid')}" data-name="{$EMAIL_TEMPLATE->get('subject')}" data-info="{$EMAIL_TEMPLATE->get('body')}">
<td><a class="cursorPointer">{vtranslate($EMAIL_TEMPLATE->get('templatename',$QUALIFIED_MODULE))}</a></td>
<td><a class="cursorPointer">{vtranslate($EMAIL_TEMPLATE->get('subject',$QUALIFIED_MODULE))}</a></td>
<td>{vtranslate($EMAIL_TEMPLATE->get('description',$QUALIFIED_MODULE))}</td>
</tr>
{/foreach}
</table>
</div>
</div>
<input type="hidden" class="triggerEventName" value="{getPurifiedSmartyParameters('triggerEventName')}"/>
</div>
{/strip}