File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
templates/user/notification Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 5
5
<h1 class="ui dividing header">{{.i18n.Tr "notification.notifications"}}</h1>
6
6
7
7
<div class="ui top attached tabular menu">
8
- <a href="{{AppSubUrl}}/notifications?q=unread">
9
- <div class="{{if eq .Status 1}}active{{end}} item">
10
- {{.i18n.Tr "notification.unread"}}
11
- {{if .NotificationUnreadCount}}
12
- <div class="ui label">{{.NotificationUnreadCount}}</div>
13
- {{end}}
14
- </div>
8
+ <a href="{{AppSubUrl}}/notifications?q=unread" class="{{if eq .Status 1}}active{{end}} item">
9
+ {{.i18n.Tr "notification.unread"}}
10
+ {{if .NotificationUnreadCount}}
11
+ <div class="ui label">{{.NotificationUnreadCount}}</div>
12
+ {{end}}
15
13
</a>
16
- <a href="{{AppSubUrl}}/notifications?q=read">
17
- <div class="{{if eq .Status 2}}active{{end}} item">
18
- {{.i18n.Tr "notification.read"}}
19
- </div>
14
+ <a href="{{AppSubUrl}}/notifications?q=read" class="{{if eq .Status 2}}active{{end}} item">
15
+ {{.i18n.Tr "notification.read"}}
20
16
</a>
21
17
</div>
22
18
<div class="ui bottom attached active tab segment">
You can’t perform that action at this time.
0 commit comments