File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
66
{{end}}
67
67
<form method="post" action="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
68
68
{{$.CsrfTokenHtml}}
69
- <div class="ui labeled button{{if not $.IsSigned}} tooltip{{end}}" tabindex="0" {{if not $.IsSigned}} data-content="{{$.locale.Tr "repo.watch_guest_user"}}" data-position="top center"{{end}}>
69
+ <div class="ui labeled button{{if not $.IsSigned}} tooltip{{end}}"{{if not $.IsSigned}} data-content="{{$.locale.Tr "repo.watch_guest_user"}}" data-position="top center"{{end}}>
70
70
<button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}}>
71
71
{{if $.IsWatchingRepo}}{{svg "octicon-eye-closed" 16}}{{$.locale.Tr "repo.unwatch"}}{{else}}{{svg "octicon-eye"}}{{$.locale.Tr "repo.watch"}}{{end}}
72
72
</button>
78
78
{{if not $.DisableStars}}
79
79
<form method="post" action="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}">
80
80
{{$.CsrfTokenHtml}}
81
- <div class="ui labeled button{{if not $.IsSigned}} tooltip{{end}}" tabindex="0" {{if not $.IsSigned}} data-content="{{$.locale.Tr "repo.star_guest_user"}}" data-position="top center"{{end}}>
81
+ <div class="ui labeled button{{if not $.IsSigned}} tooltip{{end}}"{{if not $.IsSigned}} data-content="{{$.locale.Tr "repo.star_guest_user"}}" data-position="top center"{{end}}>
82
82
<button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}}>
83
83
{{if $.IsStaringRepo}}{{svg "octicon-star-fill"}}{{$.locale.Tr "repo.unstar"}}{{else}}{{svg "octicon-star"}}{{$.locale.Tr "repo.star"}}{{end}}
84
84
</button>
98
98
{{else if and (not $.CanSignedUserFork) (eq (len $.UserAndOrgForks) 0)}}
99
99
data-content="{{$.locale.Tr "repo.fork_from_self"}}"
100
100
{{end}}
101
- data-position="top center" tabindex="0" >
101
+ data-position="top center">
102
102
<a class="ui compact{{if $.ShowForkModal}} show-modal{{end}} small basic button"
103
103
{{if not $.CanSignedUserFork}}
104
104
{{if gt (len $.UserAndOrgForks) 1}}
You can’t perform that action at this time.
0 commit comments