Remove up/down buttons for slides
Drag and drop (including arrow keys on the handle) replaces them, so the move route, action and table method are gone as well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4034a65498
commit
60fb2cb029
7 files changed
+4
-60
No files matched your search
@@ -101,12 +101,6 @@ $url = fn(string $name, array $params = []) => ['_name' => $name, 'token' => $ad
|
||||
]) ?>
|
||||
<?php endif; ?>
|
||||
<a class="button button--small" href="<?= $this->Url->build($url('slides:edit', ['id' => $slide->id])) ?>"><?= __('Bearbeiten') ?></a>
|
||||
<?= $this->Form->postLink('↑', $url('slides:move', ['id' => $slide->id, 'direction' => 'up']), [
|
||||
'class' => 'button button--small button--icon', 'title' => __('Nach oben'),
|
||||
]) ?>
|
||||
<?= $this->Form->postLink('↓', $url('slides:move', ['id' => $slide->id, 'direction' => 'down']), [
|
||||
'class' => 'button button--small button--icon', 'title' => __('Nach unten'),
|
||||
]) ?>
|
||||
<?php if ($count > 0) : ?>
|
||||
<?= $this->Form->postLink(__('Zurücksetzen'), $url('slides:reset', ['id' => $slide->id]), [
|
||||
'class' => 'button button--small',
|
||||
|
||||
Reference in new issue
Block a user