Add octicons to watch/unwatch buttons
This commit is contained in:
parent
cb362513f0
commit
e4a33ed4d0
1 changed files with 2 additions and 0 deletions
|
@ -109,8 +109,10 @@
|
||||||
{{$.CsrfTokenHtml}}
|
{{$.CsrfTokenHtml}}
|
||||||
<button class="fluid ui button">
|
<button class="fluid ui button">
|
||||||
{{if $.IssueWatch.IsWatching}}
|
{{if $.IssueWatch.IsWatching}}
|
||||||
|
<i class="octicon octicon-mute"></i>
|
||||||
{{.i18n.Tr "repo.issues.unwatch_issue"}}
|
{{.i18n.Tr "repo.issues.unwatch_issue"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
|
<i class="octicon octicon-megaphone"></i>
|
||||||
{{.i18n.Tr "repo.issues.watch_issue"}}
|
{{.i18n.Tr "repo.issues.watch_issue"}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue