瀏覽代碼

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>

Loading…
取消
儲存