Fix divider in subscription page (#27298)

the divider should always display in the subscription page.

Co-authored-by: techknowlogick <techknowlogick@gitea.com>
This commit is contained in:
yp05327 2023-09-27 13:00:57 +09:00 committed by GitHub
parent e59c9e3ecd
commit 5ef5a0ade6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,8 +62,8 @@
</div> </div>
</div> </div>
</div> </div>
{{if eq (len .Issues) 0}}
<div class="divider"></div> <div class="divider"></div>
{{if eq (len .Issues) 0}}
{{ctx.Locale.Tr "notification.no_subscriptions"}} {{ctx.Locale.Tr "notification.no_subscriptions"}}
{{else}} {{else}}
{{template "shared/issuelist" dict "." . "listType" "dashboard"}} {{template "shared/issuelist" dict "." . "listType" "dashboard"}}