snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
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
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
This commit is contained in:
49
client/res/templates/record/row-actions/default.tpl
Normal file
49
client/res/templates/record/row-actions/default.tpl
Normal file
@@ -0,0 +1,49 @@
|
||||
{{#if actionList.length}}
|
||||
<div class="list-row-buttons btn-group pull-right">
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-link btn-sm dropdown-toggle"
|
||||
data-toggle="dropdown"
|
||||
><span class="caret"></span></button>
|
||||
<ul class="dropdown-menu pull-right list-row-dropdown-menu" data-id="{{model.id}}">
|
||||
{{#each actionList}}
|
||||
{{#if this}}
|
||||
<li
|
||||
{{#if viewKey}} data-view-key="{{viewKey}}" {{/if}}
|
||||
>
|
||||
{{#if viewKey}}
|
||||
{{{lookup ../this viewKey}}}
|
||||
{{else}}
|
||||
<a
|
||||
{{#if link}} href="{{link}}" {{else}} role="button" {{/if}}
|
||||
tabindex="0"
|
||||
class="action"
|
||||
{{#if action}}data-action="{{action}}"{{/if}}
|
||||
{{#each data}}
|
||||
data-{{hyphen @key}}="{{./this}}"
|
||||
{{/each}}
|
||||
>
|
||||
{{~#if html~}}
|
||||
{{{html}}}
|
||||
{{~else~}}
|
||||
{{~#if iconClass~}}
|
||||
<span class="{{iconClass}} item-icon"></span>
|
||||
{{~/if~}}
|
||||
<span class="item-text">
|
||||
{{~#if text}}{{text}}{{else}}{{translate label scope=../scope}}{{/if~}}
|
||||
</span>
|
||||
{{~/if~}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</li>
|
||||
{{else}}
|
||||
{{#unless @first}}
|
||||
{{#unless @last}}
|
||||
<li class="divider"></li>
|
||||
{{/unless}}
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/if}}
|
||||
Reference in New Issue
Block a user