mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 03:02:14 +01:00 
			
		
		
		
	
							parent
							
								
									65689f6b37
								
							
						
					
					
						commit
						36d31d521d
					
				| @ -26,7 +26,7 @@ | ||||
| 				<div class="ui bottom attached table segment members"> | ||||
| 					{{range .Team.Members}} | ||||
| 						<div class="item"> | ||||
| 							{{if and $.IsOrganizationOwner (not (eq $.SignedUser.ID .ID))}} | ||||
| 							{{if and $.IsOrganizationOwner (not (and ($.Team.IsOwnerTeam) (eq (len $.Team.Members) 1)))}} | ||||
| 								<form> | ||||
| 									<button class="ui red button delete-button right" data-modal-id="remove-team-member" | ||||
| 										data-url="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/remove" data-datauid="{{.ID}}" | ||||
|  | ||||
| @ -74,8 +74,8 @@ | ||||
| 						</tbody> | ||||
| 					</table> | ||||
| 				{{end}} | ||||
| 			{{end}} | ||||
| 		</div> | ||||
| 			</div> | ||||
| 		{{end}} | ||||
| 	</div> | ||||
| 	{{if .IsOrganizationOwner}} | ||||
| 		<div class="ui bottom attached segment"> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user