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') %>"> <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 $AddForm
@ -14,7 +14,7 @@
<div class="cms-list" data-url-list="$Link(getListViewHTML)"> <div class="cms-list" data-url-list="$Link(getListViewHTML)">
$ListViewForm $ListViewForm
</div> </div>
</div> </div>
<% else %> <% 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') %>"> <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 $AddForm

View File

@ -3,17 +3,17 @@
$URL $URL
</a> </a>
<% if not $IsReadonly %> <% 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') %> <% _t('URLSegmentField.Edit', 'Edit') %>
</button> </button>
<% end_if %> <% end_if %>
</div> </div>
<div class="edit-holder"> <div class="edit-holder">
<input $AttributesHTML /> <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') %> <% _t('URLSegmentField.OK', 'OK') %>
</button> </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') %> <% _t('URLSegmentField.Cancel', 'Cancel') %>
</button> </button>
<% if $HelpText %><p class="form__field-description">$HelpText</p><% end_if %> <% if $HelpText %><p class="form__field-description">$HelpText</p><% end_if %>