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

52 lines
2.1 KiB
Smarty

<div class="page-header dashboard-header">
<div class="row">
<div class="col-sm-4">
{{#if displayTitle}}
<h3>{{translate 'Dashboard' category='scopeNames'}}</h3>
{{/if}}
</div>
<div class="col-sm-8 clearfix">
{{#unless layoutReadOnly}}
<div class="btn-group pull-right dashboard-buttons">
<button
class="btn btn-text btn-icon dropdown-toggle"
data-toggle="dropdown"
><span class="fas fa-ellipsis-h"></span></button>
<ul class="dropdown-menu pull-right">
<li>
<a role="button" tabindex="0" data-action="editTabs">
{{~null~}}
<span class="item-icon fas fa-pencil-alt fa-sm"></span>
<span class="item-text">{{translate 'Edit Dashboard'}}</span>
{{~null~}}
</a>
</li>
{{#if hasAdd}}
<li>
<a role="button" tabindex="0" data-action="addDashlet">
{{~null~}}
<span class="item-icon far fa-square-plus"></span>
<span class="item-text">{{translate 'Add Dashlet'}}</span>
{{~null~}}
</a>
</li>
{{/if}}
</ul>
</div>
{{/unless}}
{{#ifNotEqual dashboardLayout.length 1}}
<div class="btn-group pull-right dashboard-tabs">
{{#each dashboardLayout}}
<button
class="btn btn-text{{#ifEqual @index ../currentTab}} active{{/ifEqual}}"
data-action="selectTab"
data-tab="{{@index}}"
>{{name}}</button>
{{/each}}
</div>
{{/ifNotEqual}}
</div>
</div>
</div>
<div class="dashlets grid-stack grid-stack-12">{{{dashlets}}}</div>