Skip to content

Commit 11443d8

Browse files
committed
fix empty notice
1 parent a646b32 commit 11443d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/user/notification/notification_div.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@
8484
{{else}}
8585
<div class="empty-placeholder">
8686
{{svg "octicon-inbox" 56 "tw-mb-4"}}
87-
{{if eq .Status 1}}
88-
{{ctx.Locale.Tr "notification.no_unread"}}
89-
{{else}}
87+
{{if $pageTypeIsRead}}
9088
{{ctx.Locale.Tr "notification.no_read"}}
89+
{{else}}
90+
{{ctx.Locale.Tr "notification.no_unread"}}
9191
{{end}}
9292
</div>
9393
{{end}}

0 commit comments

Comments
 (0)