id}_{$step->step}") ?>">
| = $step->step ?> |
= htmlReady($step->title) ?> |
= htmlReady($step->tip) ?> |
= htmlReady($step->route) ?> |
= $tour->chdate ? date('d.m.Y H:i', $tour->chdate) : '' ?> |
= htmlReady($step->author ? $step->author->getFullName() : ($step->author_email ?: _('unbekannt'))) ?> |
$actionMenu = ActionMenu::get()->setContext($step->title) ?>
$actionMenu->addLink(
$controller->url_for('tour/edit_step/' . $tour->tour_id . '/' . $step->step),
_('Schritt bearbeiten'),
Icon::create('edit'),
['data-dialog' => 'size=auto;reload-on-close']
) ?>
$actionMenu->addLink(
$controller->url_for('tour/admin_details/' . $tour->tour_id, ['delete_tour_step' => $step->step]),
_('Schritt löschen'),
Icon::create('trash')
) ?>
$actionMenu->addLink(
$controller->url_for('tour/edit_step/' . $tour->tour_id . '/' . ($step->step + 1) . '/new'),
_('Neuen Schritt hinzufügen'),
Icon::create('add'),
['data-dialog' => 'size=auto;reload-on-close']
) ?>
= $actionMenu->render() ?>
|
endforeach ?>
else : ?>