mirror of
https://github.com/go-gitea/gitea
synced 2025-08-04 00:28:36 +00:00
Refactor template empty checks (#28351)
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
</div>
|
||||
<div class="gt-p-0">
|
||||
<div id="notification_table">
|
||||
{{if eq (len .Notifications) 0}}
|
||||
{{if not .Notifications}}
|
||||
<div class="gt-df gt-ac gt-fc gt-p-4">
|
||||
{{svg "octicon-inbox" 56 "gt-mb-4"}}
|
||||
{{if eq .Status 1}}
|
||||
|
Reference in New Issue
Block a user