core&ui: show history judge time

This commit is contained in:
undefined committed 2025-03-16 23:10:52 +00:00
1 parent cd92a41090
commit 3c65c27911
2 files changed
+7 -6

No files matched your search

@@ -106,7 +106,7 @@
{% endif %}
</div>
</div>
{% if allRev|length %}
{% if allRevs|length %}
<div class="section side">
<div class="section__header">
<h1 class="section__title">{{ _('History') }}</h1>
@@ -118,10 +118,10 @@
{{ _('Latest Version') }}
</a>
</li>
{% for r in allRev %}
{% for r, rtime in allRevs %}
<li class="menu__item">
<a href="?rev={{ r }}" {% if rev and rev.equals(r) %}style="border-color: #4690d0;"{% endif %} class="menu__link">
{{ _('Version') }} {{ loop.index }}
{{ datetimeSpan(rtime, false)|safe }}
</a>
</li>
{% endfor %}