From af6d7ed51439f2b412f74d03d9520b20a7f5b722 Mon Sep 17 00:00:00 2001 From: Steven Guikal Date: Thu, 19 Aug 2021 13:06:01 -0400 Subject: [PATCH] Add aria-labels for comment count and remove button --- todosrht/filters.py | 2 +- todosrht/templates/tracker.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/todosrht/filters.py b/todosrht/filters.py index 8ef7b68..be8a09c 100644 --- a/todosrht/filters.py +++ b/todosrht/filters.py @@ -96,7 +96,7 @@ def label_badge(label, cls="", remove_from_ticket=None, terms=None): remove_form = f"""
{csrf_token()} -
diff --git a/todosrht/templates/tracker.html b/todosrht/templates/tracker.html index d6c05b0..17344d8 100644 --- a/todosrht/templates/tracker.html +++ b/todosrht/templates/tracker.html @@ -213,7 +213,7 @@ {{ ticket.submitter.name }} -
+
{% if ticket.id in seen_ticket_ids or comment_counts.get(ticket.id, 0) == 0 %} {{icon("comments-o")}}