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/frontend/client/res/templates/record/bottom.tpl
T
2015-03-04 12:15:17 +02:00

37 lines
1.7 KiB
Smarty

{{#each panels}}
<div class="panel panel-default panel-{{name}}" data-panel-name="{{name}}">
<div class="panel-heading">
<div class="pull-right btn-group">
{{#if buttons}}
{{#each buttons}}
<button type="button" class="btn btn-default btn-sm action" data-action="{{action}}" data-link="{{link}}" title="{{translate title scope=../../scope}}">{{{html}}}</button>
{{/each}}
{{/if}}
{{#if actions}}
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
{{#each actions}}
<li><a {{#if link}}href="{{link}}"{{else}}href="javascript:"{{/if}} class="action" data-panel="{{../../name}}" {{#if action}} data-action={{action}}{{/if}}{{#each data}} data-{{@key}}="{{./this}}"{{/each}}>{{translate label scope=../scope}}</a></li>
{{/each}}
</ul>
{{/if}}
</div>
<h4 class="panel-title">
{{#unless notRefreshable}}
<span style="cursor: pointer;" class="action" title="{{translate 'clickToRefresh' category='messages'}}" data-action="refresh" data-panel="{{name}}">
{{/unless}}
{{title}}
{{#unless notRefreshable}}
</span>
{{/unless}}
</h4>
</div>
<div class="panel-body panel-body-{{toDom name}}">
{{{var name ../this}}}
</div>
</div>
{{/each}}