mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Batch updates for issues (#926)
This commit is contained in:
		
				
					committed by
					
						 Kim "BKC" Carlbäcker
						Kim "BKC" Carlbäcker
					
				
			
			
				
	
			
			
			
						parent
						
							021904e4e6
						
					
				
				
					commit
					09fe4a2ae9
				
			
							
								
								
									
										11
									
								
								cmd/web.go
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								cmd/web.go
									
									
									
									
									
								
							| @@ -466,17 +466,16 @@ func runWeb(ctx *cli.Context) error { | ||||
| 			m.Combo("/new", repo.MustEnableIssues).Get(context.RepoRef(), repo.NewIssue). | ||||
| 				Post(bindIgnErr(auth.CreateIssueForm{}), repo.NewIssuePost) | ||||
|  | ||||
| 			m.Group("/:index", func() { | ||||
| 				m.Post("/label", repo.UpdateIssueLabel) | ||||
| 				m.Post("/milestone", repo.UpdateIssueMilestone) | ||||
| 				m.Post("/assignee", repo.UpdateIssueAssignee) | ||||
| 			}, reqRepoWriter) | ||||
|  | ||||
| 			m.Group("/:index", func() { | ||||
| 				m.Post("/title", repo.UpdateIssueTitle) | ||||
| 				m.Post("/content", repo.UpdateIssueContent) | ||||
| 				m.Combo("/comments").Post(bindIgnErr(auth.CreateCommentForm{}), repo.NewComment) | ||||
| 			}) | ||||
|  | ||||
| 			m.Post("/labels", repo.UpdateIssueLabel, reqRepoWriter) | ||||
| 			m.Post("/milestone", repo.UpdateIssueMilestone, reqRepoWriter) | ||||
| 			m.Post("/assignee", repo.UpdateIssueAssignee, reqRepoWriter) | ||||
| 			m.Post("/status", repo.UpdateIssueStatus, reqRepoWriter) | ||||
| 		}) | ||||
| 		m.Group("/comments/:id", func() { | ||||
| 			m.Post("", repo.UpdateCommentContent) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user