prettify last restart date in acp just a bit

v1.18.x
Julian Lam 7 years ago
parent ea5476fd62
commit 9b592c2ed1

@ -125,8 +125,10 @@
<button class="btn btn-block btn-danger rebuild-and-restart"<!-- IF !canRestart --> disabled<!-- END -->>[[admin/general/dashboard:rebuild-and-restart]]</button>
</p>
<!-- IF lastrestart -->
<p>[[admin/general/dashboard:last-restarted-by]]</p>
<p><a href="{config.relative_path}/uid/{lastrestart.uid}">{lastrestart.user.username}</a> <span>{lastrestart.timestampISO}</span></p>
<p>
[[admin/general/dashboard:last-restarted-by]]<br />
<a href="{config.relative_path}/uid/{lastrestart.uid}"><span class="label label-info">{lastrestart.user.username}</span></a> <span class="timeago" title="{lastrestart.timestampISO}"></span>
</p>
<!-- ENDIF lastrestart -->
<p class="<!-- IF canRestart -->help-block<!-- ELSE -->alert alert-warning<!-- END -->">
<!-- IF canRestart -->

Loading…
Cancel
Save