layouts/basic/modules/Vtiger/Detail/Widget/WYSIWYG.tpl
{*
<!-- {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} -->*}
{strip}
<!-- tpl-Base-Detail-Widget-WYSIWYG -->
{assign var=WIDGET_UID value="id-{\App\Layout::getUniqueId($WIDGET['id']|cat:_)}"}
<div class="c-detail-widget js-detail-widget c-detail-widget--wysiwyg" data-js="container">
<div class="c-detail-widget__header js-detail-widget-header collapsed" data-js="container|value">
<div class="c-detail-widget__header__container d-flex align-items-center py-1">
<div class="c-detail-widget__toggle collapsed" id="{$WIDGET_UID}" data-toggle="collapse"
data-target="#{$WIDGET_UID}-collapse" aria-expanded="false" aria-controls="{$WIDGET_UID}-collapse">
<span class="u-transform_rotate-180deg mdi mdi-chevron-down" alt="{\App\Language::translate('LBL_EXPAND_BLOCK')}"></span>
</div>
<div class="c-detail-widget__header__title">
<h5 class="mb-0" title="{\App\Language::translate($WIDGET['label'],$MODULE_NAME)}">
{\App\Language::translate($WIDGET['label'],$MODULE_NAME)}
</h5>
</div>
</div>
</div>
<div class="c-detail-widget__content js-detail-widget-collapse js-detail-widget-content collapse multi-collapse pt-1"
id="{$WIDGET_UID}-collapse" data-storage-key="{$WIDGET['id']}" aria-labelledby="{$WIDGET_UID}"
data-js="container|value">
{$RECORD->getDisplayValue($WIDGET['data']['field_name'], false, false, 'medium')}
</div>
</div>
<!-- /tpl-Base-Detail-Widget-WYSIWYG -->
{/strip}