head_navbar: integrate upstream tmpl changes
ref: https://github.com/go-gitea/gitea/pull/17451
This commit is contained in:
parent
e53748c078
commit
f13bb0434b
@ -192,7 +192,7 @@
|
|||||||
{{svg "octicon-person"}} {{.i18n.Tr "register"}}
|
{{svg "octicon-person"}} {{.i18n.Tr "register"}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
<a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="/user/login?redirect_to={{.CurrentURL}}">
|
<a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="/user/login{{if not .PageIsSignIn}}?redirect_to={{.CurrentURL}}{{end}}">
|
||||||
{{svg "octicon-sign-in"}} {{.i18n.Tr "sign_in"}}
|
{{svg "octicon-sign-in"}} {{.i18n.Tr "sign_in"}}
|
||||||
</a>
|
</a>
|
||||||
</div><!-- end anonymous right menu -->
|
</div><!-- end anonymous right menu -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user