diff options
author | Patrick G <geek1011@outlook.com> | 2017-10-18 14:18:31 -0400 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-10-18 21:18:31 +0300 |
commit | 30afce1523ae4e03fcb831a051665c7008c443b3 (patch) | |
tree | eda22e42c34118a36a70cfad6499813485091247 | |
parent | 2a184f5924ada6e030d9039c9d19aef86901c285 (diff) | |
download | gitea-30afce1523ae4e03fcb831a051665c7008c443b3.tar.gz gitea-30afce1523ae4e03fcb831a051665c7008c443b3.zip |
Fix tabs according to semantic-ui docs (#2733)
-rw-r--r-- | templates/user/notification/notification.tmpl | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/templates/user/notification/notification.tmpl b/templates/user/notification/notification.tmpl index 6d975a934a..da6bd07d2a 100644 --- a/templates/user/notification/notification.tmpl +++ b/templates/user/notification/notification.tmpl @@ -5,18 +5,14 @@ <h1 class="ui dividing header">{{.i18n.Tr "notification.notifications"}}</h1> <div class="ui top attached tabular menu"> - <a href="{{AppSubUrl}}/notifications?q=unread"> - <div class="{{if eq .Status 1}}active{{end}} item"> - {{.i18n.Tr "notification.unread"}} - {{if .NotificationUnreadCount}} - <div class="ui label">{{.NotificationUnreadCount}}</div> - {{end}} - </div> + <a href="{{AppSubUrl}}/notifications?q=unread" class="{{if eq .Status 1}}active{{end}} item"> + {{.i18n.Tr "notification.unread"}} + {{if .NotificationUnreadCount}} + <div class="ui label">{{.NotificationUnreadCount}}</div> + {{end}} </a> - <a href="{{AppSubUrl}}/notifications?q=read"> - <div class="{{if eq .Status 2}}active{{end}} item"> - {{.i18n.Tr "notification.read"}} - </div> + <a href="{{AppSubUrl}}/notifications?q=read" class="{{if eq .Status 2}}active{{end}} item"> + {{.i18n.Tr "notification.read"}} </a> </div> <div class="ui bottom attached active tab segment"> |