add github signin to navbar
This commit is contained in:
parent
fa737a887b
commit
20717e6139
|
@ -276,6 +276,9 @@
|
|||
<a class="item{{if .PageIsSignIn}} active{{end}}" href="{{AppSubUrl}}/user/login?redirect_to={{.Link}}">
|
||||
<i class="octicon octicon-sign-in"></i> {{.i18n.Tr "sign_in"}}
|
||||
</a>
|
||||
<a class="item" href="{{AppSubUrl}}/user/oauth2/GitHub?redirect_to={{.Link}}">
|
||||
{{.i18n.Tr "sign_in_with"}} <i class="octicon octicon-mark-github"></i>
|
||||
</a>
|
||||
</div><!-- end anonymous right menu -->
|
||||
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue