浏览代码

Add octicons to watch/unwatch buttons

tags/v1.2.0-rc1
Andrey Nering 7 年前
父节点
当前提交
e4a33ed4d0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      templates/repo/issue/view_content/sidebar.tmpl

+ 2
- 0
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>

正在加载...
取消
保存