mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 05:11:41 +01:00 
			
		
		
		
	Filter for default-branch selection (#29388)
Filter for default-branch selection (fixes #4751) before:  after:  --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		
							parent
							
								
									7cf7a499be
								
							
						
					
					
						commit
						c8f4897f7f
					
				| @ -16,7 +16,7 @@ | ||||
| 					{{.CsrfTokenHtml}} | ||||
| 					<input type="hidden" name="action" value="default_branch"> | ||||
| 					{{if not .Repository.IsEmpty}} | ||||
| 						<div class="ui dropdown selection gt-f1 gt-mr-3 tw-max-w-96"> | ||||
| 						<div class="ui dropdown selection search gt-f1 gt-mr-3 tw-max-w-96"> | ||||
| 							{{svg "octicon-triangle-down" 14 "dropdown icon"}} | ||||
| 							<input type="hidden" name="branch" value="{{.Repository.DefaultBranch}}"> | ||||
| 							<div class="default text">{{.Repository.DefaultBranch}}</div> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user