Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FEATURE SS-124 duplicate "Add New" and "Batch Action" into page list …

…view
  • Loading branch information...
commit dc01b741529b31c7ac480d0a4efa473f822530cc 1 parent 5a18e3b
@normann normann authored
View
4 templates/Includes/CMSPagesController_Content.ss
@@ -45,6 +45,10 @@
</div>
<div id="cms-content-listview">
+ <div class="cms-content-toolbar">
+ <% include CMSPagesController_ContentToolActions %>
+ </div>
+
<div class="cms-list" data-url-list="$Link(getListViewHTML)">
$ListView
</div>
View
7 templates/Includes/CMSPagesController_ContentToolActions.ss
@@ -0,0 +1,7 @@
+<div class="cms-actions-row">
+ <a class="cms-page-add-button ss-ui-button ss-ui-action-constructive cms-panel-link" data-icon="add" href="$AddLink"><% _t('CMSMain.AddNewButton', 'Add new') %></a>
+</div>
+
+<div class="cms-content-batchactions">
+ $BatchActionsForm
+</div>
View
9 templates/Includes/CMSPagesController_ContentToolbar.ss
@@ -11,11 +11,4 @@
<label for="view-mode-multiselect"><% _t("MULTISELECT","Multi-selection") %></label>
</div>
</div>
-
-<div class="cms-actions-row">
- <a class="ss-ui-button ss-ui-action-constructive cms-panel-link" data-icon="add" href="$AddLink"><% _t('CMSMain.AddNewButton', 'Add new') %></a>
-</div>
-
-<div class="cms-content-batchactions">
- $BatchActionsForm
-</div>
+<% include CMSPagesController_ContentToolActions %>

0 comments on commit dc01b74

Please sign in to comment.
Something went wrong with that request. Please try again.