Browse Source

Changed option: merges can be provided only by repository admin

Ivan Arkhipov 6 years ago
parent
commit
8b15089bba
1 changed files with 1 additions and 1 deletions
  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"}}
 									{{$.i18n.Tr "repo.pulls.can_auto_merge_desc"}}
 								</div>
 								</div>
 
 
-								{{if .IsRepositoryWriter}}
+								{{if .IsRepositoryAdmin}}
 									<div class="ui divider"></div>
 									<div class="ui divider"></div>
 									<form class="ui form" action="{{.Link}}/merge" method="post">
 									<form class="ui form" action="{{.Link}}/merge" method="post">
 										{{.CSRFTokenHTML}}
 										{{.CSRFTokenHTML}}