File tree 1 file changed +12
-6
lines changed
templates/user/notification
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
<div role="main" aria-label="{{.Title}}" class="page-content user notification" id="notification_div" data-params="{{.Page.GetParams}}" data-sequence-number="{{.SequenceNumber}}">
2
2
<div class="ui container">
3
- <h1 class="ui dividing header">{{.locale.Tr "notification.notifications"}}</h1>
3
+ <h1 class="ui header gt-df gt-ac">
4
+ {{svg "octicon-bell" 28 "gt-mr-3 gt-mt-1"}}
5
+ {{.locale.Tr "notification.notifications"}}
6
+ </h1>
4
7
<div class="ui top attached tabular menu">
5
8
{{$notificationUnreadCount := call .NotificationUnreadCount}}
6
9
<a href="{{AppSubUrl}}/notifications?q=unread" class="{{if eq .Status 1}}active {{end}}item">
23
26
</div>
24
27
<div class="ui bottom attached active tab segment gt-p-3">
25
28
{{if eq (len .Notifications) 0}}
26
- {{if eq .Status 1}}
27
- {{.locale.Tr "notification.no_unread"}}
28
- {{else}}
29
- {{.locale.Tr "notification.no_read"}}
30
- {{end}}
29
+ <div class="gt-df gt-ac gt-fc gt-p-4">
30
+ {{svg "octicon-inbox" 56 "gt-mb-4"}}
31
+ {{if eq .Status 1}}
32
+ {{.locale.Tr "notification.no_unread"}}
33
+ {{else}}
34
+ {{.locale.Tr "notification.no_read"}}
35
+ {{end}}
36
+ </div>
31
37
{{else}}
32
38
<table class="ui unstackable very compact small table" id="notification_table">
33
39
<tbody>
You can’t perform that action at this time.
0 commit comments