Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Dec 5, 2023
1 parent 2211d25 commit 22da5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/_model_header.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<?php echo $controller->modelShowName; ?>
</h1>
<div class="sx-small-info" style="font-size: 10px; color: silver;">
<span title="ID записи - уникальный код записи в базе данных." data-toggle="tooltip"><i class="fas fa-key"></i> <?php echo $model->id; ?></span>
<span title="ID записи - уникальный код записи в базе данных." data-toggle="tooltip"><i class="fas fa-key"></i> <?php echo isset($model->id) ? $model->id : ""; ?></span>
<? if (isset($model->created_at) && $model->created_at) : ?>
<span style="margin-left: 5px;" data-toggle="tooltip" title="Запись создана в базе: <?php echo \Yii::$app->formatter->asDatetime($model->created_at); ?>"><i
class="far fa-clock"></i> <?php echo \Yii::$app->formatter->asDate($model->created_at); ?></span>
Expand Down

0 comments on commit 22da5ce

Please sign in to comment.