mirror of
https://github.com/go-gitea/gitea
synced 2025-07-30 06:08:35 +00:00
Optimize html templates (#22080)
Replace `active{{end}} item` with `active{{end}} item`.
This commit is contained in:
@@ -175,7 +175,7 @@
|
||||
{{svg "octicon-bell"}}
|
||||
{{.locale.Tr "notification.subscriptions"}}<!-- Subscriptions -->
|
||||
</a>
|
||||
<a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
||||
<a class="{{if .PageIsUserSettings}}active {{end}}item" href="{{AppSubUrl}}/user/settings">
|
||||
{{svg "octicon-tools"}}
|
||||
{{.locale.Tr "your_settings"}}<!-- Your settings -->
|
||||
</a>
|
||||
@@ -186,7 +186,7 @@
|
||||
{{if .IsAdmin}}
|
||||
<div class="divider"></div>
|
||||
|
||||
<a class="{{if .PageIsAdmin}}active{{end}} item" href="{{AppSubUrl}}/admin">
|
||||
<a class="{{if .PageIsAdmin}}active {{end}}item" href="{{AppSubUrl}}/admin">
|
||||
{{svg "octicon-server"}}
|
||||
{{.locale.Tr "admin_panel"}}<!-- Admin Panel -->
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user