From 77ccd215e2eab58d5d5dcb6eeb5b2df05667e54a Mon Sep 17 00:00:00 2001 From: Giteabot Date: Thu, 28 Sep 2023 18:37:33 +0800 Subject: [PATCH] Fix divider in subscription page (#27298) (#27301) Backport #27298 by @yp05327 divider should always display in subscription page. Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/5a5c948c-8e45-4faa-827e-a05356f3a714) ![image](https://github.com/go-gitea/gitea/assets/18380374/8f6a6747-5414-45cc-8b4c-aa99ea869038) After: (no changes when there's no subscriptions) ![image](https://github.com/go-gitea/gitea/assets/18380374/261faf8d-97e2-4d79-a255-5077a42979d2) ![image](https://github.com/go-gitea/gitea/assets/18380374/fc73c837-2efb-40b2-a8f8-2b5c77c32f3b) Co-authored-by: yp05327 <576951401@qq.com> Co-authored-by: techknowlogick --- templates/user/notification/notification_subscriptions.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/notification/notification_subscriptions.tmpl b/templates/user/notification/notification_subscriptions.tmpl index 03dbd7c3a7..7eb4c8ea44 100644 --- a/templates/user/notification/notification_subscriptions.tmpl +++ b/templates/user/notification/notification_subscriptions.tmpl @@ -62,8 +62,8 @@ +
{{if eq (len .Issues) 0}} -
{{ctx.Locale.Tr "notification.no_subscriptions"}} {{else}} {{template "shared/issuelist" dict "." . "listType" "dashboard"}}