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