icingaweb2-module-director/application/views/scripts/show/activitylog.phtml

24 lines
408 B
PHTML

<div class="controls">
<?= $this->tabs ?>
</div>
<div class="content">
<?php
switch ($entry->action_name) {
case 'create':
echo $this->render('show/activitylog-create.phtml');
break;
case 'modify':
echo $this->render('show/activitylog-modify.phtml');
break;
case 'delete':
echo $this->render('show/activitylog-delete.phtml');
break;
default:
echo 'Invalid action';
}
?>
</div>