Files
upstream-espocrm/client/res/templates/admin/dynamic-logic/conditions/group-base.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

68 lines
2.4 KiB
Smarty

<div class="group-head" data-level="{{level}}">
{{#ifNotEqual level 0}}
<a class="pull-right" role="button" tabindex="0" data-action="remove"><span class="fas fa-times"></span></a>
{{/ifNotEqual}}
{{#ifNotEqual level 0}}
<div>(</div>
{{else}}
&nbsp;
{{/ifNotEqual}}
</div>
<div class="item-list" data-level="{{level}}">
{{#each viewDataList}}
<div data-view-key="{{key}}">{{{var key ../this}}}</div>
<div class="group-operator" data-view-ref-key="{{key}}">{{translate ../groupOperator category='logicalOperators' scope='Admin'}}</div>
{{/each}}
</div>
<div class="group-bottom" data-level="{{level}}">
<div class="btn-group">
<a
class="dropdown-toggle small"
role="button"
tabindex="0"
data-toggle="dropdown"
>{{translate groupOperator category='logicalOperators' scope='Admin'}} <span class="fas fa-plus"></span></a>
<ul class="dropdown-menu">
<li><a
role="button"
tabindex="0"
data-action="addField"
>{{translate 'Field' scope='DynamicLogic'}}</a></li>
<li class="divider"></li>
<li><a
role="button"
tabindex="0"
data-action="addAnd"
>(... {{translate 'and' category='logicalOperators' scope='Admin'}} ...)</a></li>
<li><a
role="button"
tabindex="0"
data-action="addOr"
>(... {{translate 'or' category='logicalOperators' scope='Admin'}} ...)</a></li>
<li><a
role="button"
tabindex="0"
data-action="addNot"
>{{translate 'not' category='logicalOperators' scope='Admin'}} (...)</a></li>
<li class="divider"></li>
<li><a
role="button"
tabindex="0"
data-action="addCurrentUser"
>${{translate 'User' scope='scopeNames'}}</a></li>
<li><a
role="button"
tabindex="0"
data-action="addCurrentUserTeams"
>${{translate 'User' scope='scopeNames'}}.{{translate 'teams' category='fields' scope='User'}}</a></li>
</ul>
</div>
</div>
{{#ifNotEqual level 0}}
<div>)</div>
{{/ifNotEqual}}