File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 125
125
<i class="octicon octicon-person"></i> {{.i18n.Tr "register"}}
126
126
</a>
127
127
{{end}}
128
- <a class="item{{if .PageIsSignIn}} active{{end}}" href="{{AppSubUrl}}/user/login?redirect_to={{.Link}}">
128
+ <a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="{{AppSubUrl}}/user/login?redirect_to={{.Link}}">
129
129
<i class="octicon octicon-sign-in"></i> {{.i18n.Tr "sign_in"}}
130
130
</a>
131
131
</div><!-- end anonymous right menu -->
Original file line number Diff line number Diff line change 36
36
</div>
37
37
{{if and (not .IsEmpty) ($.Permission.CanRead $.UnitTypeCode)}}
38
38
<div class="ui labeled button {{if and ($.IsSigned) (not $.CanSignedUserFork)}}disabled-repo-button{{end}}" tabindex="0">
39
- <a class="ui compact basic button {{if or (not $.IsSigned) (not $.CanSignedUserFork)}}poping up{{end}}" {{if $.CanSignedUserFork}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else if $.IsSigned}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" {{ else }} data-content="{{$.i18n.Tr "repo.fork_guest_user" }}" href="{{AppSubUrl}}/user/login?redirect_to={{AppSubUrl}}/repo/fork/{{.ID}}" {{end}} data-position="top center" data-variation="tiny">
39
+ <a class="ui compact basic button {{if or (not $.IsSigned) (not $.CanSignedUserFork)}}poping up{{end}}" {{if $.CanSignedUserFork}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else if $.IsSigned}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" {{ else }} data-content="{{$.i18n.Tr "repo.fork_guest_user" }}" rel="nofollow" href="{{AppSubUrl}}/user/login?redirect_to={{AppSubUrl}}/repo/fork/{{.ID}}" {{end}} data-position="top center" data-variation="tiny">
40
40
<i class="octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}}
41
41
</a>
42
42
<a class="ui basic label" href="{{.Link}}/forks">
Original file line number Diff line number Diff line change 1
1
{{if .EnableOpenIDSignIn}}
2
2
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
3
- <a class="{{if .PageIsLogin}}active{{end}} item" href="{{AppSubUrl}}/user/login">
3
+ <a class="{{if .PageIsLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login">
4
4
{{.i18n.Tr "auth.login_userpass"}}
5
5
</a>
6
- <a class="{{if .PageIsLoginOpenID}}active{{end}} item" href="{{AppSubUrl}}/user/login/openid">
6
+ <a class="{{if .PageIsLoginOpenID}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
7
7
<i class="fa fa-openid"></i>
8
8
OpenID
9
9
</a>
You can’t perform that action at this time.
0 commit comments