We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d8181 commit 6110ddcCopy full SHA for 6110ddc
templates/base/head_navbar.tmpl
@@ -196,7 +196,7 @@
196
{{svg "octicon-person"}} {{.i18n.Tr "register"}}
197
</a>
198
{{end}}
199
- <a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="{{AppSubUrl}}/user/login?redirect_to={{.CurrentURL}}">
+ <a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="{{AppSubUrl}}/user/login{{if not .PageIsSignIn}}?redirect_to={{.CurrentURL}}{{end}}">
200
{{svg "octicon-sign-in"}} {{.i18n.Tr "sign_in"}}
201
202
</div><!-- end anonymous right menu -->
0 commit comments