From d80dc1534d44134d5e9767791aecb1509770ea52 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 21 Nov 2023 14:01:31 +0000 Subject: [PATCH] templates: add optional Series ID buttons to the patch list If the user has turned on display of patch IDs, add clickable series ID buttons inline with the series name. Signed-off-by: Ross Burton --- patchwork/templates/patchwork/partials/patch-list.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/patchwork/templates/patchwork/partials/patch-list.html b/patchwork/templates/patchwork/partials/patch-list.html index a882cd9d8..e919c6d9b 100644 --- a/patchwork/templates/patchwork/partials/patch-list.html +++ b/patchwork/templates/patchwork/partials/patch-list.html @@ -192,6 +192,11 @@ {% if patch.series %} +{% if user.is_authenticated and user.profile.show_ids %} + +{% endif %} {{ patch.series|truncatechars:100 }}