add github signin to navbar

This commit is contained in:
AJ ONeal 2018-10-09 06:33:19 +00:00
parent fa737a887b
commit 20717e6139
1 changed files with 3 additions and 0 deletions

View File

@ -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"}} &nbsp;<i class="octicon octicon-mark-github"></i>
</a>
</div><!-- end anonymous right menu -->
{{end}}