Permalink
Browse files

Moving "edit tree" button next to "add new" (fixes #8119)

  • Loading branch information...
1 parent cb96255 commit 0dd6dedab2dab80e93fb9bdd6221e83691d1d728 @chillu chillu committed Dec 17, 2012
View
@@ -15,7 +15,7 @@
.cms-content-tools #cms-content-treeview .cms-content-toolbar { border-bottom: none; box-shadow: none; margin-bottom: 8px; }
.cms-content-tools #cms-content-treeview .cms-tree-view-modes, .cms-content-tools #cms-content-treeview .cms-content-batchactions { display: none; }
-.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: inline-block; margin: 0 0 2px 0; }
+.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: block; float: left; margin: 0 0 2px 0; }
.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger span.ui-button-text { padding-right: 8px; }
.cms-content-tools #cms-content-treeview .cms-tree .badge, .cms-content-tools #cms-content-treeview .cms-tree a > .jstree-icon { display: none; }
.cms-content-tools #cms-content-treeview .cms-tree a:hover > .text > .badge, .cms-content-tools #cms-content-treeview .cms-tree .jstree-clicked > .text > .badge { display: inline-block; }
View
@@ -66,7 +66,8 @@
display: none;
}
.cms-tree-expand-trigger {
- display: inline-block;
+ display: block;
+ float: left;
margin:0 0 2px 0;
span.ui-button-text{
padding-right:8px;
@@ -7,10 +7,6 @@
$AddForm
</div>
-<button href="$LinkPagesWithSearch" class="cms-tree-expand-trigger cms-panel-link ss-button" data-icon="pencil">
- <% _t('CMSMain.EditTree', 'Edit Tree') %>
-</button>
-
$ExtraTreeTools
<div class="center">
@@ -1,3 +1,6 @@
<div class="cms-actions-row">
<a class="cms-page-add-button ss-ui-button ss-ui-action-constructive" data-icon="add" href="$LinkPageAdd" data-url-addpage="{$LinkPageAdd('?ParentID=%s')}"><% _t('CMSMain.AddNewButton', 'Add new') %></a>
+ <button href="$LinkPagesWithSearch" class="cms-tree-expand-trigger cms-panel-link ss-button" data-icon="pencil">
+ <% _t('CMSMain.EditTree', 'Edit Tree') %>
+ </button>
</div>

0 comments on commit 0dd6ded

Please sign in to comment.