Files
espocrm/client/res/templates/fields/text/list.tpl
2026-01-19 17:46:06 +01:00

16 lines
592 B
Smarty

{{#if isNotEmpty}}
<div
class="complex-text-container{{#if isCut}} cut{{/if}}"
{{#if cutHeight}} style="max-height: {{cutHeight}}px;"{{/if}}
><div
class="complex-text"
>{{#unless displayRawText}}{{#if htmlValue}}{{{htmlValue}}}{{else}}{{complexText value}}{{/if}}{{else}}{{breaklines value}}{{/unless}}</div></div>
{{#if isCut}}<div
class="see-more-container hidden"
><a
role="button"
tabindex="0"
data-action="seeMoreText"
><span class="fas fa-sm fa-chevron-down"></span> <span class="text">{{translate 'See more'}}</span></a></div>{{/if}}
{{/if}}