Browse Source

Add octicons to watch/unwatch buttons

for-closed-social
Andrey Nering 7 years ago
parent
commit
e4a33ed4d0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      templates/repo/issue/view_content/sidebar.tmpl

+ 2
- 0
templates/repo/issue/view_content/sidebar.tmpl View File

@ -109,8 +109,10 @@
{{$.CsrfTokenHtml}}
<button class="fluid ui button">
{{if $.IssueWatch.IsWatching}}
<i class="octicon octicon-mute"></i>
{{.i18n.Tr "repo.issues.unwatch_issue"}}
{{else}}
<i class="octicon octicon-megaphone"></i>
{{.i18n.Tr "repo.issues.watch_issue"}}
{{end}}
</button>

Loading…
Cancel
Save