mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX Ensuring that new pages can't be created when in translation mode by disabling the "create..." tree action
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@70322 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5889def36d
commit
2591492023
@ -32,6 +32,10 @@ body {
|
||||
#TreeActions li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#TreeActions button.disabled {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.ajaxActions input,
|
||||
.actions input,
|
||||
|
@ -9,7 +9,7 @@
|
||||
<div id="sitetree_holder">
|
||||
|
||||
<ul id="TreeActions">
|
||||
<li class="action" id="addpage"><button><% _t('CREATE','Create',PR_HIGH) %></button></li>
|
||||
<li class="action" id="addpage"><button<% if EditingLang %> disabled="disabled" class="disabled"<% end_if %>><% _t('CREATE','Create',PR_HIGH) %></button></li>
|
||||
<li class="action" id="search"><button><% _t('SEARCH','Search',PR_HIGH) %></button></li>
|
||||
<li class="action" id="batchactions"><button><% _t('BATCHACTIONS','Batch Actions',PR_HIGH) %></button></li>
|
||||
<!-- <li class="action" id="duplicate"><a href="#">Duplicate</a></li>
|
||||
|
Loading…
Reference in New Issue
Block a user