Files
upstream-espocrm/client/res/templates/admin/layouts/index.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

42 lines
1.6 KiB
Smarty

<div class="page-header"><h3>{{{headerHtml}}}</h3></div>
<div class="row">
<div id="layouts-menu" class="col-sm-3">
<div class="panel-group panel-group-accordion" id="layout-accordion">
{{#each layoutScopeDataList}}
<div class="panel panel-default">
<div class="panel-heading">
<a
class="accordion-toggle{{#if ../em}} btn btn-link{{/if}}"
data-scope="{{scope}}" href="{{url}}"
>{{translate scope category='scopeNamesPlural'}}</a>
</div>
<div class="panel-collapse collapse{{#ifEqual scope ../scope}} in{{/ifEqual}}" data-scope="{{scope}}">
<div class="panel-body">
<ul class="list-unstyled" style="overflow-x: hidden;">
{{#each typeDataList}}
<li>
<a
class="layout-link btn btn-link"
data-type="{{type}}"
data-scope="{{../scope}}"
href="{{url}}"
>{{label}}</a>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
{{/each}}
</div>
</div>
<div id="layouts-panel" class="col-sm-9">
<h4 id="layout-header" style="margin-top: 0px;"></h4>
<div id="layout-content" class="">
{{{content}}}
</div>
</div>
</div>