aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2017-03-29 21:08:46 -0300
committerAndrey Nering <andrey.nering@gmail.com>2017-03-29 21:08:46 -0300
commite4a33ed4d0d078c6d8a5b9025865c805f7eee179 (patch)
treec47426b80792cbde4036d0f28b9e52b7fbe9ea49
parentcb362513f027ca8e2c53204f5f2ea447ad06bf05 (diff)
downloadgitea-e4a33ed4d0d078c6d8a5b9025865c805f7eee179.tar.gz
gitea-e4a33ed4d0d078c6d8a5b9025865c805f7eee179.zip
Add octicons to watch/unwatch buttons
-rw-r--r--templates/repo/issue/view_content/sidebar.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl
index 9a4a6cb1ae..a9df130dfc 100644
--- a/templates/repo/issue/view_content/sidebar.tmpl
+++ b/templates/repo/issue/view_content/sidebar.tmpl
@@ -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>