$panel) {
$label = '' . Html::encode($panel->getName());
echo Html::a($label, ['view', 'tag' => $tag, 'panel' => $id], [
'class' => $panel === $activePanel ? 'list-group-item active' : 'list-group-item',
]);
}
?>
$meta['tag'], 'panel' => $activePanel->id];
$items[] = [
'label' => $label,
'url' => $url,
];
if (++$count >= 10) {
break;
}
}
echo ButtonGroup::widget([
'buttons' => [
Html::a('All', ['index'], ['class' => 'btn btn-default']),
Html::a('Latest', ['view', 'panel' => $activePanel->id], ['class' => 'btn btn-default']),
ButtonDropdown::widget([
'label' => 'Last 10',
'options' => ['class' => 'btn-default'],
'dropdown' => ['items' => $items],
]),
],
]);
echo "\n" . $summary['tag'] . ': ' . $summary['method'] . ' ' . Html::a(Html::encode($summary['url']), $summary['url']);
echo ' at ' . date('Y-m-d h:i:s a', $summary['time']) . ' by ' . $summary['ip'];
?>
= $activePanel->getDetail() ?>