Files
upstream-espocrm/client/res/templates/fields/formula/edit.tpl
upstream-mirror 7cc7e6b4f3
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

35 lines
1.3 KiB
Smarty

<div class="formula-edit-container clearfix">
<div>
<div id="{{containerId}}">{{value}}</div>
</div>
{{#if hasSide}}
<div>
<div class="button-container">
<div class="btn-group pull-right">
{{#if hasCheckSyntax}}
<button
type="button"
class="btn btn-text btn-sm btn-icon"
data-action="checkSyntax"
title="{{translate 'Check Syntax' scope='Formula'}}"
><span class="far fa-circle"></span></button>
{{/if}}
{{#if hasInsert}}
<button
type="button"
class="btn btn-text btn-sm dropdown-toggle btn-icon"
data-toggle="dropdown"
><span class="fas fa-plus"></span></button>
<ul class="dropdown-menu pull-right">
{{#if targetEntityType}}
<li><a role="button" tabindex="0" data-action="addAttribute">{{translate 'Attribute'}}</a></li>
{{/if}}
<li><a role="button" tabindex="0" data-action="addFunction">{{translate 'Function'}}</a></li>
</ul>
{{/if}}
</div>
</div>
</div>
{{/if}}
</div>