|
|
|
@ -102,7 +102,7 @@ |
|
|
|
|
<div class="ui divider"></div> |
|
|
|
|
|
|
|
|
|
<div class="ui watching"> |
|
|
|
|
<span class="text"><strong>{{.i18n.Tr "repo.issues.watch"}}</strong></span> |
|
|
|
|
<span class="text"><strong>{{.i18n.Tr "notification.notifications"}}</strong></span> |
|
|
|
|
<div> |
|
|
|
|
<form method="POST" action="{{$.RepoLink}}/issues/{{.Issue.Index}}/watch"> |
|
|
|
|
<input type="hidden" name="watch" value="{{if $.IssueWatch.IsWatching}}0{{else}}1{{end}}" /> |
|
|
|
@ -110,10 +110,10 @@ |
|
|
|
|
<button class="fluid ui button"> |
|
|
|
|
{{if $.IssueWatch.IsWatching}} |
|
|
|
|
<i class="octicon octicon-mute"></i> |
|
|
|
|
{{.i18n.Tr "repo.issues.unwatch_issue"}} |
|
|
|
|
{{.i18n.Tr "repo.issues.unsubscribe"}} |
|
|
|
|
{{else}} |
|
|
|
|
<i class="octicon octicon-megaphone"></i> |
|
|
|
|
{{.i18n.Tr "repo.issues.watch_issue"}} |
|
|
|
|
<i class="octicon octicon-unmute"></i> |
|
|
|
|
{{.i18n.Tr "repo.issues.subscribe"}} |
|
|
|
|
{{end}} |
|
|
|
|
</button> |
|
|
|
|
</form> |
|
|
|
|