We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
octicon-eye
1 parent 02bf0a8 commit feaa527Copy full SHA for feaa527
templates/repo/watch_unwatch.tmpl
@@ -3,7 +3,7 @@
3
{{$buttonText := ctx.Locale.Tr "repo.watch"}}
4
{{if $.IsWatchingRepo}}{{$buttonText = ctx.Locale.Tr "repo.unwatch"}}{{end}}
5
<button type="submit" class="ui compact small basic button"{{if not $.IsSigned}} disabled{{end}} aria-label="{{$buttonText}}">
6
- {{if $.IsWatchingRepo}}{{svg "octicon-eye-closed"}}{{else}}{{svg "octicon-eye"}}{{end}}
+ {{svg "octicon-eye"}}
7
<span class="not-mobile" aria-hidden="true">{{$buttonText}}</span>
8
</button>
9
<a hx-boost="false" class="ui basic label" href="{{.RepoLink}}/watchers">
0 commit comments