Skip to content

Commit 5138f54

Browse files
committed
added displaying last updated at package details
1 parent 1956cc0 commit 5138f54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/views/site/package-details.php

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
]) ?>
1818
<?php } ?>
1919

20+
<br><br>
21+
<b>Last updated:</b> <?= Yii::$app->formatter->asDateTime($package->getUpdateTime()) ?> (<?= Yii::$app->formatter->asRelativeTime($package->getUpdateTime()) ?>)
22+
<br><br>
23+
2024
<?php if (Yii::$app->session->hasFlash('update-impossible')) { ?>
2125
<div class="alert alert-warning too-fast-update" role="alert">
2226
<h4><?= Yii::t('app', 'Wow, you are very fast!'); ?></h4>

0 commit comments

Comments
 (0)