code.gitea.io/gitea@v1.22.3/templates/repo/issue/view_content/watching.tmpl (about) 1 <form hx-boost="true" hx-sync="this:replace" hx-target="this" method="post" action="{{.Issue.Link}}/watch"> 2 <input type="hidden" name="watch" value="{{if $.IssueWatch.IsWatching}}0{{else}}1{{end}}"> 3 <button class="fluid ui button"> 4 {{if $.IssueWatch.IsWatching}} 5 {{svg "octicon-mute" 16 "tw-mr-2"}} 6 {{ctx.Locale.Tr "repo.issues.unsubscribe"}} 7 {{else}} 8 {{svg "octicon-unmute" 16 "tw-mr-2"}} 9 {{ctx.Locale.Tr "repo.issues.subscribe"}} 10 {{end}} 11 </button> 12 </form>