|
1 | | -<div class="ui container" id="navbar" role="navigation" aria-label="{{.locale.Tr "aria.navbar"}}"> |
| 1 | +<nav class="ui container" id="navbar" aria-label="{{.locale.Tr "aria.navbar"}}"> |
2 | 2 | {{$notificationUnreadCount := 0}} |
3 | 3 | {{if .IsSigned}} |
4 | 4 | {{if .NotificationUnreadCount}}{{$notificationUnreadCount = call .NotificationUnreadCount}}{{end}} |
|
150 | 150 | </div><!-- end content create new menu --> |
151 | 151 | </div><!-- end dropdown menu create new --> |
152 | 152 |
|
153 | | - <div class="ui dropdown jump item tooltip gt-mx-0" tabindex="-1" data-content="{{.locale.Tr "user_profile_and_more"}}"> |
| 153 | + <div class="ui dropdown jump item tooltip gt-mx-0" data-content="{{.locale.Tr "user_profile_and_more"}}"> |
154 | 154 | <span class="text"> |
155 | 155 | {{avatar $.Context .SignedUser 24 "tiny"}} |
156 | 156 | <span class="sr-only">{{.locale.Tr "user_profile_and_more"}}</span> |
|
190 | 190 |
|
191 | 191 | <a class="{{if .PageIsAdmin}}active {{end}}item" href="{{AppSubUrl}}/admin"> |
192 | 192 | {{svg "octicon-server"}} |
193 | | - {{.locale.Tr "admin_panel"}}<!-- Admin Panel --> |
| 193 | + {{.locale.Tr "admin_panel"}} |
194 | 194 | </a> |
195 | 195 | {{end}} |
196 | 196 |
|
197 | 197 | <div class="divider"></div> |
198 | 198 | <a class="item link-action" href data-url="{{AppSubUrl}}/user/logout" data-redirect="{{AppSubUrl}}/"> |
199 | 199 | {{svg "octicon-sign-out"}} |
200 | | - {{.locale.Tr "sign_out"}}<!-- Sign Out --> |
| 200 | + {{.locale.Tr "sign_out"}} |
201 | 201 | </a> |
202 | 202 | </div><!-- end content avatar menu --> |
203 | 203 | </div><!-- end dropdown avatar menu --> |
|
213 | 213 | <a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="{{AppSubUrl}}/user/login{{if not .PageIsSignIn}}?redirect_to={{.CurrentURL}}{{end}}"> |
214 | 214 | {{svg "octicon-sign-in"}} {{.locale.Tr "sign_in"}} |
215 | 215 | </a> |
216 | | - </div><!-- end anonymous right menu --> |
| 216 | + </div><!-- end anonymous user right menu --> |
217 | 217 | {{end}} |
218 | | -</div> |
| 218 | +</nav> |
0 commit comments