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

View File

@@ -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>

View File

@@ -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>

View File

@@ -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 %}

View File

@@ -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 %}