Removing reorder behaviour from Feed controller
This commit is contained in:
parent
cecb01901f
commit
1fd2880216
@ -5,11 +5,13 @@ use BackendMenu;
|
|||||||
|
|
||||||
class Feed extends Controller
|
class Feed extends Controller
|
||||||
{
|
{
|
||||||
public $implement = [ 'Backend\Behaviors\ListController', 'Backend\Behaviors\FormController', 'Backend\Behaviors\ReorderController' ];
|
public $implement = [
|
||||||
|
'Backend\Behaviors\ListController',
|
||||||
|
'Backend\Behaviors\FormController'
|
||||||
|
];
|
||||||
|
|
||||||
public $listConfig = 'config_list.yaml';
|
public $listConfig = 'config_list.yaml';
|
||||||
public $formConfig = 'config_form.yaml';
|
public $formConfig = 'config_form.yaml';
|
||||||
public $reorderConfig = 'config_reorder.yaml';
|
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<div data-control="toolbar">
|
<div data-control="toolbar">
|
||||||
<a href="<?= Backend::url('jasonwilliams/feed/feed/create') ?>" class="btn btn-primary oc-icon-plus"><?= e(trans('backend::lang.form.create')) ?></a>
|
<a href="<?= Backend::url('jasonwilliams/feed/feed/create') ?>" class="btn btn-primary oc-icon-plus"><?= e(trans('backend::lang.form.create')) ?></a>
|
||||||
<a href="<?= Backend::url('jasonwilliams/feed/feed/reorder') ?>" class="btn btn-default oc-icon-list"><?= e(trans('backend::lang.reorder.default_title')) ?></a>
|
|
||||||
<button
|
<button
|
||||||
class="btn btn-default oc-icon-trash-o"
|
class="btn btn-default oc-icon-trash-o"
|
||||||
disabled="disabled"
|
disabled="disabled"
|
||||||
@ -16,4 +15,10 @@
|
|||||||
data-stripe-load-indicator>
|
data-stripe-load-indicator>
|
||||||
<?= e(trans('backend::lang.list.delete_selected')) ?>
|
<?= e(trans('backend::lang.list.delete_selected')) ?>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<a
|
||||||
|
href="<?= Backend::url('jasonwilliams/feed/import') ?>"
|
||||||
|
class="btn btn-default oc-icon-upload">
|
||||||
|
Fetch posts
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user