mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 14:31:02 +00:00 
			
		
		
		
	Merge pull request '[FEAT] Configure if protected branch rule should apply to admins' (#2867) from gusted/forgejo-protectedbranch-admins into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2867 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
		
				commit
				
					
						ec091b59af
					
				
			
		
					 16 changed files with 167 additions and 26 deletions
				
			
		|  | @ -260,6 +260,14 @@ | |||
| 						<p class="help">{{ctx.Locale.Tr "repo.settings.block_outdated_branch_desc"}}</p> | ||||
| 					</div> | ||||
| 				</div> | ||||
| 				<h5 class="ui dividing header">{{ctx.Locale.Tr "repo.settings.event_pull_request_enforcement"}}</h5> | ||||
| 				<div class="field"> | ||||
| 					<div class="ui checkbox"> | ||||
| 						<input name="apply_to_admins" type="checkbox" {{if .Rule.ApplyToAdmins}}checked{{end}}> | ||||
| 						<label>{{ctx.Locale.Tr "repo.settings.enforce_on_admins"}}</label> | ||||
| 						<p class="help">{{ctx.Locale.Tr "repo.settings.enforce_on_admins_desc"}}</p> | ||||
| 					</div> | ||||
| 				</div> | ||||
| 				<div class="divider"></div> | ||||
| 
 | ||||
| 				<div class="field"> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue