-
revision_id): ?>
= date('d.m.Y H:i', $item->revision_at) ?>
→
= Html::a(Yii::t('blog', 'View'),
\yii\helpers\Url::to(Yii::$app->get('frontendUrlManager')->createAbsoluteUrl([
'/pages/page/preview',
'id' => $item->id
])), [
'style' => 'font-size:11px;',
'target' => '_blank',
]) ?>
|
= Html::a(Yii::t('pages', 'Restore'),
['/pages/manage/page/restore-history', 'id' => $item->id], [
'style' => 'font-size:11px; color: red',
'data' => [
'confirm' => Yii::t('pages',
'Are you sure you want to restore this history item?'),
'method' => 'post',
],
]) ?>
= Yii::t('pages', 'Current Edition') ?>
= Html::a(Yii::t('pages', 'Clear History'),
['/pages/manage/page/clear-history', 'id' => $page->id], [
'class' => 'btn btn-danger btn-sm pull-right',
'data' => [
'confirm' => Yii::t('pages', 'Are you sure you want to remove this history?'),
'method' => 'post',
],
]) ?>
= Yii::t('pages',
'History is empty') ?>