From 9bf91f17d651714cb484dce3eb7342f0b922ce47 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 5 Jul 2024 01:19:33 +0100 Subject: [PATCH] Add full datetime as tooltips --- app/templates/macros/audit_log.html | 2 +- app/templates/macros/reviews.html | 3 ++- app/templates/macros/threads.html | 8 ++++---- app/templates/macros/todo.html | 2 +- app/templates/packages/view.html | 2 +- app/templates/threads/user_comments.html | 3 ++- app/templates/todo/editor.html | 6 +++--- app/templates/users/modtools.html | 2 +- 8 files changed, 15 insertions(+), 13 deletions(-) diff --git a/app/templates/macros/audit_log.html b/app/templates/macros/audit_log.html index a30afce9..9dd69249 100644 --- a/app/templates/macros/audit_log.html +++ b/app/templates/macros/audit_log.html @@ -55,7 +55,7 @@ {% endif %} -
+
{{ entry.created_at | datetime }}
diff --git a/app/templates/macros/reviews.html b/app/templates/macros/reviews.html index 707d003f..ce8edfaa 100644 --- a/app/templates/macros/reviews.html +++ b/app/templates/macros/reviews.html @@ -51,7 +51,8 @@ + href="{{ url_for('threads.view', id=review.thread.id) }}#reply-{{ reply.id }}" + title="{{ review.created_at | full_datetime }}"> {{ review.created_at | datetime }} diff --git a/app/templates/macros/threads.html b/app/templates/macros/threads.html index a38cdd66..6fb65758 100644 --- a/app/templates/macros/threads.html +++ b/app/templates/macros/threads.html @@ -34,7 +34,7 @@ {% endif %} + href="{{ r.get_url() }}" title="{{ r.created_at | full_datetime }}"> {{ r.created_at | datetime }} @@ -97,7 +97,7 @@
+ href="{{ r.get_url() }}" title="{{ r.created_at | full_datetime }}"> {{ r.created_at | datetime }}
@@ -239,7 +239,7 @@ {{ t.author.display_name }} - + {{ t.created_at | datetime }} @@ -257,7 +257,7 @@ {{ latest.author.display_name }}
- + {{ latest.created_at | datetime }} {% endif %} diff --git a/app/templates/macros/todo.html b/app/templates/macros/todo.html index 1108cc84..a70ce341 100644 --- a/app/templates/macros/todo.html +++ b/app/templates/macros/todo.html @@ -21,7 +21,7 @@ {{ _("On %(trigger)s, do %(action)s", trigger=config.trigger.value, action=action) }} {% else %} {{ config.get_message() }}
- + {{ config.outdated_at | datetime }} {% endif %} diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index cc55b38a..121740e7 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -642,7 +642,7 @@
{{ _("Unknown") }}
{% endif %}
{{ _("Added") }}
-
{{ package.created_at | datetime }}
+
{{ package.created_at | datetime }}
{{ _("Maintainers") }}
{% for user in package.maintainers %} diff --git a/app/templates/threads/user_comments.html b/app/templates/threads/user_comments.html index 344efb33..c25b0f2d 100644 --- a/app/templates/threads/user_comments.html +++ b/app/templates/threads/user_comments.html @@ -52,7 +52,8 @@ {% endif %} + href="{{ url_for('threads.view', id=r.thread.id) }}#reply-{{ r.id }}" + title="{{ r.created_at | full_datetime }}"> {{ r.created_at | datetime }} diff --git a/app/templates/todo/editor.html b/app/templates/todo/editor.html index db279a3d..69dd2dcf 100644 --- a/app/templates/todo/editor.html +++ b/app/templates/todo/editor.html @@ -47,7 +47,7 @@