diff --git a/client/res/templates/record/list-pagination.tpl b/client/res/templates/record/list-pagination.tpl
index 3df7d772a8..c5fbfbcbfe 100644
--- a/client/res/templates/record/list-pagination.tpl
+++ b/client/res/templates/record/list-pagination.tpl
@@ -16,5 +16,3 @@
-
-
diff --git a/client/res/templates/record/list-tree.tpl b/client/res/templates/record/list-tree.tpl
index 2a87b8e8ae..f8a3fd9e2b 100644
--- a/client/res/templates/record/list-tree.tpl
+++ b/client/res/templates/record/list-tree.tpl
@@ -2,7 +2,7 @@
{{#if topBar}}
{{#each buttonList}}
- {{button name scope=../../scope label=label style=style}}
+ {{button name scope=../scope label=label style=style}}
{{/each}}
{{/if}}
@@ -54,7 +54,11 @@
{{#if showRoot}}
{{/if}}
@@ -67,7 +71,12 @@
{{#unless createDisabled}}
{{/unless}}
diff --git a/client/res/templates/record/list.tpl b/client/res/templates/record/list.tpl
index 500f0b5d5b..fdd97c8831 100644
--- a/client/res/templates/record/list.tpl
+++ b/client/res/templates/record/list.tpl
@@ -11,25 +11,35 @@
{{#if displayActionsButtonGroup}}
{{#if massActionList}}
-
+
{{/if}}
{{#if buttonList.length}}
{{#each buttonList}}
- {{button name scope=../../scope label=label style=style hidden=hidden}}
+ {{button name scope=../scope label=label style=style hidden=hidden}}
{{/each}}
{{/if}}
+
{{#if dropdownItemList.length}}
-
+
{{/if}}
+
{{#if massActionList}}
{{/unless}}
-
{{/if}}
{{#each headerDefs}}
-
+ |
{{#if this.isSortable}}
- {{label}}
- {{#if this.isSorted}}{{#unless this.isDesc}}{{else}}{{/unless}}{{/if}}
- {{else}}{{label}}{{/if}}
+ {{label}}
+ {{#if this.isSorted}}
+ {{#unless this.isDesc}}
+ {{else}}
+
+ {{/unless}}
+ {{/if}}
+ {{else}}
+ {{label}}
+ {{/if}}
|
{{/each}}
@@ -132,7 +169,13 @@
{{#unless paginationEnabled}}
{{#if showMoreEnabled}}