This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/client/res/templates/settings/fields/dashboard-layout/edit.tpl
T
Yuri Kuznetsov 6fd0f10ee7 ref
2022-07-22 11:26:10 +03:00

27 lines
863 B
Smarty

<div class="button-container clearfix">
<button
class="btn btn-default btn-icon"
data-action="editTabs"
title="{{translate 'Edit Dashboard'}}"
><span class="fas fa-pencil-alt fa-sm"></span></button>
<button
class="btn btn-default btn-icon"
data-action="addDashlet"
title="{{translate 'Add Dashlet'}}"
><span class="fas fa-plus"></span></button>
{{#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 class="grid-stack grid-stack-12"></div>