瀏覽代碼

Changed option: merges can be provided only by repository admin

Ivan Arkhipov 6 年之前
父節點
當前提交
86d0a80a79
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      templates/repo/issue/view_content.tmpl

+ 1 - 1
templates/repo/issue/view_content.tmpl

@@ -191,7 +191,7 @@
 									{{$.i18n.Tr "repo.pulls.can_auto_merge_desc"}}
 								</div>
 
-								{{if .IsRepositoryWriter}}
+								{{if .IsRepositoryAdmin}}
 									<div class="ui divider"></div>
 									<form class="ui form" action="{{.Link}}/merge" method="post">
 										{{.CSRFTokenHTML}}