Move CMS classes and templates to namespaced locations

This commit is contained in:
Damian Mooyman 2016-07-22 11:07:50 +12:00
parent 25a8fb87da
commit cb946508cf
56 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<% include CMSPagesController_ContentToolActions %>
<% include SilverStripe\CMS\Controllers\CMSPagesController_ContentToolActions %>
<div class="ss-dialog cms-page-add-form-dialog cms-dialog-content" id="cms-page-add-form" title="<% _t('CMSMain.AddNew', 'Add new page') %>">
$AddForm
@ -14,7 +14,7 @@
<div class="cms-list" data-url-list="$Link(getListViewHTML)">
$ListViewForm
</div>
</div>
</div>
<% else %>

View File

@ -1,4 +1,4 @@
<% include CMSPagesController_ContentToolActions View='Tree' %>
<% include SilverStripe\CMS\Controllers\CMSPagesController_ContentToolActions View='Tree' %>
<div class="ss-dialog cms-page-add-form-dialog cms-dialog-content" id="cms-page-add-form" title="<% _t('CMSMain.AddNew', 'Add new page') %>">
$AddForm

View File

@ -3,17 +3,17 @@
$URL
</a>
<% if not $IsReadonly %>
<button type="button" class="btn btn-secondary-outline btn-sm edit">
<button role="button" type="button" class="btn ui-button-text-only ss-ui-button edit">
<% _t('URLSegmentField.Edit', 'Edit') %>
</button>
<% end_if %>
</div>
<div class="edit-holder">
<input $AttributesHTML />
<button type="button" class="btn btn-primary update">
<button role="button" data-icon="accept" type="button" class="btn ui-button-text-icon-primary ss-ui-button update">
<% _t('URLSegmentField.OK', 'OK') %>
</button>
<button type="button" class="btn btn-secondary cancel">
<button role="button" data-icon="cancel" type="button" class="btn ui-button-text-icon-secondary ss-ui-button cancel">
<% _t('URLSegmentField.Cancel', 'Cancel') %>
</button>
<% if $HelpText %><p class="form__field-description">$HelpText</p><% end_if %>