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 45
45
<form method="post" action="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
46
46
{{$.CsrfTokenHtml}}
47
47
<div class="ui labeled button{{if not $.IsSigned}} poping up{{end}}" tabindex="0"{{if not $.IsSigned}} data-content="{{$.i18n.Tr "repo.watch_guest_user" }}" data-position="top center" data-variation="tiny"{{end}}>
48
- <button type="submit" class="ui compact basic button"{{if not $.IsSigned}} disabled{{end}}>
48
+ <button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}}>
49
49
{{if $.IsWatchingRepo}}{{svg "octicon-eye-closed" 16}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{svg "octicon-eye"}}{{$.i18n.Tr "repo.watch"}}{{end}}
50
50
</button>
51
51
<a class="ui basic label" href="{{.Link}}/watchers">
56
56
<form method="post" action="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}">
57
57
{{$.CsrfTokenHtml}}
58
58
<div class="ui labeled button{{if not $.IsSigned}} poping up{{end}}" tabindex="0"{{if not $.IsSigned}} data-content="{{$.i18n.Tr "repo.star_guest_user" }}" data-position="top center" data-variation="tiny"{{end}}>
59
- <button type="submit" class="ui compact basic button"{{if not $.IsSigned}} disabled{{end}}>
59
+ <button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}}>
60
60
{{if $.IsStaringRepo}}{{svg "octicon-star-fill"}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{svg "octicon-star"}}{{$.i18n.Tr "repo.star"}}{{end}}
61
61
</button>
62
62
<a class="ui basic label" href="{{.Link}}/stars">
66
66
</form>
67
67
{{if and (not .IsEmpty) ($.Permission.CanRead $.UnitTypeCode)}}
68
68
<div class="ui labeled button" tabindex="0">
69
- <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">
69
+ <a class="ui compact small 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">
70
70
{{svg "octicon-repo-forked"}}{{$.i18n.Tr "repo.fork"}}
71
71
</a>
72
72
<a class="ui basic label" href="{{.Link}}/forks">
You can’t perform that action at this time.
0 commit comments