Skip to content
This repository
Browse code

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

…view
  • Loading branch information...
commit dc01b741529b31c7ac480d0a4efa473f822530cc 1 parent 5a18e3b
Normann Lou authored April 10, 2012
4  templates/Includes/CMSPagesController_Content.ss
@@ -45,6 +45,10 @@
45 45
 		</div>
46 46
 	
47 47
 		<div id="cms-content-listview">
  48
+			<div class="cms-content-toolbar">
  49
+				<% include CMSPagesController_ContentToolActions %>
  50
+			</div>
  51
+			
48 52
 			<div class="cms-list" data-url-list="$Link(getListViewHTML)">
49 53
 				$ListView
50 54
 			</div>
7  templates/Includes/CMSPagesController_ContentToolActions.ss
... ...
@@ -0,0 +1,7 @@
  1
+<div class="cms-actions-row">
  2
+	<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>
  3
+</div>
  4
+
  5
+<div class="cms-content-batchactions">
  6
+	$BatchActionsForm
  7
+</div>
9  templates/Includes/CMSPagesController_ContentToolbar.ss
@@ -11,11 +11,4 @@
11 11
 		<label for="view-mode-multiselect"><% _t("MULTISELECT","Multi-selection") %></label>
12 12
 	</div>
13 13
 </div>
14  
-
15  
-<div class="cms-actions-row">
16  
-	<a class="ss-ui-button ss-ui-action-constructive cms-panel-link" data-icon="add" href="$AddLink"><% _t('CMSMain.AddNewButton', 'Add new') %></a>
17  
-</div>
18  
-
19  
-<div class="cms-content-batchactions">
20  
-	$BatchActionsForm
21  
-</div>
  14
+<% include CMSPagesController_ContentToolActions %>

0 notes on commit dc01b74

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