mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-30 07:56:05 +00:00
list button contanier placeholder
This commit is contained in:
@@ -108,14 +108,16 @@
|
||||
{{/if}}
|
||||
|
||||
{{#if displayTotalCount}}
|
||||
<div class="text-muted total-count">
|
||||
<span
|
||||
title="{{translate 'Total'}}"
|
||||
class="total-count-span"
|
||||
>{{totalCountFormatted}}</span>
|
||||
</div>
|
||||
<div class="text-muted total-count">
|
||||
<span
|
||||
title="{{translate 'Total'}}"
|
||||
class="total-count-span"
|
||||
>{{totalCountFormatted}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="list-buttons-container"></div>
|
||||
{{/if}}
|
||||
|
||||
<div class="list{{#if tableMinWidth}} scrollable{{/if}}" data-scope="{{scope}}">
|
||||
|
||||
@@ -936,12 +936,15 @@ function (Dep, MassActionHelper, ExportHelper, RecordModal) {
|
||||
}
|
||||
}
|
||||
|
||||
let displayTotalCount = this.displayTotalCount && this.collection.total > 0;
|
||||
|
||||
let topBar =
|
||||
paginationTop ||
|
||||
this.checkboxes ||
|
||||
(this.buttonList.length && !this.buttonsDisabled) ||
|
||||
(this.dropdownItemList.length && !this.buttonsDisabled) ||
|
||||
this.forceDisplayTopBar;
|
||||
this.forceDisplayTopBar ||
|
||||
displayTotalCount;
|
||||
|
||||
return {
|
||||
scope: this.scope,
|
||||
@@ -963,7 +966,7 @@ function (Dep, MassActionHelper, ExportHelper, RecordModal) {
|
||||
checkAllResultDisabled: checkAllResultDisabled,
|
||||
buttonList: this.buttonList,
|
||||
dropdownItemList: this.dropdownItemList,
|
||||
displayTotalCount: this.displayTotalCount && this.collection.total > 0,
|
||||
displayTotalCount: displayTotalCount,
|
||||
displayActionsButtonGroup: this.checkboxes ||
|
||||
this.massActionList || this.buttonList.length || this.dropdownItemList.length,
|
||||
totalCountFormatted: this.getNumberUtil().formatInt(this.collection.total),
|
||||
|
||||
@@ -867,6 +867,7 @@ input.global-search-input {
|
||||
|
||||
.list-container .list-buttons-container {
|
||||
margin-bottom: @padding-base-horizontal;
|
||||
min-height: 35px;
|
||||
}
|
||||
|
||||
.list-buttons-container .sticked-bar {
|
||||
|
||||
Reference in New Issue
Block a user