|
|
|
@@ -211,9 +211,15 @@ |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
{{if .ShowRegistrationButton}} |
|
|
|
<a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up"> |
|
|
|
{{svg "octicon-person" 16}} {{.i18n.Tr "register"}} |
|
|
|
</a> |
|
|
|
{{if .IsCourse}} |
|
|
|
<a class="item{{if .PageIsSignUp}} active{{end}}" href="https://git.openi.org.cn/user/sign_up" target="_blank"> |
|
|
|
{{svg "octicon-person" 16}} {{.i18n.Tr "register"}} |
|
|
|
</a> |
|
|
|
{{else}} |
|
|
|
<a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up"> |
|
|
|
{{svg "octicon-person" 16}} {{.i18n.Tr "register"}} |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{if .IsCourse}} |
|
|
|
<a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="https://git.openi.org.cn/user/login?course=true" target="_blank"> |
|
|
|
|