From 62ae2bb72176f36e1438e8b2f805e73b08406969 Mon Sep 17 00:00:00 2001 From: Sebastian Dietrich Date: Wed, 30 Aug 2023 23:00:47 +0200 Subject: [PATCH 1/3] Fix a typo in the CSS class --- code_comments/templates/comments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_comments/templates/comments.html b/code_comments/templates/comments.html index 2870244..3ae3080 100644 --- a/code_comments/templates/comments.html +++ b/code_comments/templates/comments.html @@ -33,7 +33,7 @@

Code Comments

- + From 9c7fc3cf50319ea8c3c7d9a16169a3f953d9a6a3 Mon Sep 17 00:00:00 2001 From: Sebastian Dietrich Date: Wed, 30 Aug 2023 23:26:09 +0200 Subject: [PATCH 2/3] Fix wrong HTML tags for values in columns author and timestamp --- code_comments/templates/comments.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code_comments/templates/comments.html b/code_comments/templates/comments.html index 3ae3080..48a8172 100644 --- a/code_comments/templates/comments.html +++ b/code_comments/templates/comments.html @@ -47,8 +47,8 @@

Code Comments

- - + + From c0bf35862a96733bba361bfee76b53fd6a262aaf Mon Sep 17 00:00:00 2001 From: Sebastian Dietrich Date: Wed, 30 Aug 2023 23:27:52 +0200 Subject: [PATCH 3/3] Change column label from 'Date' to 'Timestamp' The column contains complete timestamps not just dates. --- code_comments/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_comments/web.py b/code_comments/web.py index 83342c7..3744bbd 100644 --- a/code_comments/web.py +++ b/code_comments/web.py @@ -242,7 +242,7 @@ def prepare_sortable_headers(self): displayed_sorting_methods = \ ('id', 'author', 'time', 'path', 'text') displayed_sorting_method_names = \ - ('ID', 'Author', 'Date', 'Path', 'Text') + ('ID', 'Author', 'Timestamp', 'Path', 'Text') query_args = self.req.args if 'page' in query_args: del query_args['page']
$header.name
$comment.id$comment.author${comment.formatted_date()}$comment.author${comment.formatted_date()} ${comment.path_link_tag()} $comment.html ${comment.get_ticket_links()}