Add full datetime as tooltips

This commit is contained in:
rubenwardy 2024-07-05 01:19:33 +01:00
parent 576d9dd3e0
commit 9bf91f17d6
8 changed files with 15 additions and 13 deletions

@ -55,7 +55,7 @@
{% endif %}
<div class="col-sm-auto text-muted">
<div class="col-sm-auto text-muted" title="{{ entry.created_at | full_datetime }}">
{{ entry.created_at | datetime }}
</div>
</div>

@ -51,7 +51,8 @@
</a>
<a name="reply-{{ reply.id }}" class="text-muted float-end"
href="{{ url_for('threads.view', id=review.thread.id) }}#reply-{{ reply.id }}">
href="{{ url_for('threads.view', id=review.thread.id) }}#reply-{{ reply.id }}"
title="{{ review.created_at | full_datetime }}">
{{ review.created_at | datetime }}
</a>
</div>

@ -34,7 +34,7 @@
{% endif %}
<a name="reply-{{ r.id }}" class="text-muted float-end"
href="{{ r.get_url() }}">
href="{{ r.get_url() }}" title="{{ r.created_at | full_datetime }}">
{{ r.created_at | datetime }}
</a>
</div>
@ -97,7 +97,7 @@
</div>
<div class="col-auto">
<a name="reply-{{ r.id }}" class="text-muted float-end"
href="{{ r.get_url() }}">
href="{{ r.get_url() }}" title="{{ r.created_at | full_datetime }}">
{{ r.created_at | datetime }}
</a>
</div>
@ -239,7 +239,7 @@
<span>
{{ t.author.display_name }}
</span>
<span class="text-muted ms-3">
<span class="text-muted ms-3" title="{{ r.created_at | full_datetime }}">
{{ t.created_at | datetime }}
</span>
</div>
@ -257,7 +257,7 @@
<span>
{{ latest.author.display_name }}
</span><br />
<span class="text-muted">
<span class="text-muted" title="{{ latest.created_at | full_datetime }}">
{{ latest.created_at | datetime }}
</span>
{% endif %}

@ -21,7 +21,7 @@
{{ _("On %(trigger)s, do %(action)s", trigger=config.trigger.value, action=action) }}
{% else %}
{{ config.get_message() }}<br />
<span class="text-muted">
<span class="text-muted" title="{{ config.outdated_at | full_datetime }}">
{{ config.outdated_at | datetime }}
</span>
{% endif %}

@ -642,7 +642,7 @@
<dd><i>{{ _("Unknown") }}</i></dd>
{% endif %}
<dt>{{ _("Added") }}</dt>
<dd>{{ package.created_at | datetime }}</dd>
<dd title="{{ package.created_at | full_datetime }}">{{ package.created_at | datetime }}</dd>
<dt>{{ _("Maintainers") }}</dt>
<dd>
{% for user in package.maintainers %}

@ -52,7 +52,8 @@
{% endif %}
<a name="reply-{{ r.id }}" class="text-muted float-end"
href="{{ url_for('threads.view', id=r.thread.id) }}#reply-{{ r.id }}">
href="{{ url_for('threads.view', id=r.thread.id) }}#reply-{{ r.id }}"
title="{{ r.created_at | full_datetime }}">
{{ r.created_at | datetime }}
</a>
</div>

@ -47,7 +47,7 @@
<div class="list-group list-group-flush">
{% for p in packages %}
<a href="{{ p.get_url('packages.view') }}" class="list-group-item list-group-item-action">
<span class="float-end" title="Created {{ p.created_at | datetime }}">
<span class="float-end" title="Created {{ p.created_at | full_datetime }}">
<small>
{{ p.created_at | timedelta }} ago
</small>
@ -108,7 +108,7 @@
<div class="list-group list-group-flush">
{% for p in license_needed %}
<a href="{{ p.get_url('packages.view') }}" class="list-group-item list-group-item-action">
<span class="float-end" title="Created {{ p.created_at | datetime }}">
<span class="float-end" title="Created {{ p.created_at | full_datetime }}">
<small>
{{ p.created_at | timedelta }} ago
</small>
@ -165,7 +165,7 @@
<div class="list-group list-group-flush" style="max-height: 300px; overflow: hidden auto;">
{% for p in wip_packages %}
<a href="{{ p.get_url('packages.view') }}" class="list-group-item list-group-item-action">
<span class="float-end" title="Created {{ p.created_at | datetime }}">
<span class="float-end" title="Created {{ p.created_at | full_datetime }}">
<small>
{{ p.created_at | timedelta }} ago
</small>

@ -118,7 +118,7 @@
{% for ver in user.email_verifications %}
{% if not ver.is_expired %}
<li>
{{ ver.email }}, {{ ver.created_at | datetime }}:
{{ ver.email }}, {{ ver.created_at | full_datetime }}:
<a href="{{ url_for('users.verify_email', token=ver.token) }}">verify</a>
</li>
{% endif %}