Remove up/down buttons for slides
CI / Deploy / test (push) Successful in 46s
CI / Deploy / deploy (push) Skipped

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:
gnilebeinandClaude Opus 5.5 committed 2026-11-07 14:48:58 +01:00
1 parent 4034a65498
commit 60fb2cb029
7 files changed
+4 -60

No files matched your search

-6
View File
@@ -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',