mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Show edit title button on commits tab of PR, too (#25791)
All 3 tabs of the PR (Conversation, Commits and Files changed) should show the edit title button. Before this commit the edit button was not shown on commits tab Screenshots: After:  Before:  Just for reference the edit button in files changed tab:  Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		@@ -723,6 +723,9 @@ func ViewPullCommits(ctx *context.Context) {
 | 
			
		||||
	ctx.Data["Commits"] = commits
 | 
			
		||||
	ctx.Data["CommitCount"] = len(commits)
 | 
			
		||||
 | 
			
		||||
	ctx.Data["HasIssuesOrPullsWritePermission"] = ctx.Repo.CanWriteIssuesOrPulls(issue.IsPull)
 | 
			
		||||
	ctx.Data["IsIssuePoster"] = ctx.IsSigned && issue.IsPoster(ctx.Doer.ID)
 | 
			
		||||
 | 
			
		||||
	getBranchData(ctx, issue)
 | 
			
		||||
	ctx.HTML(http.StatusOK, tplPullCommits)
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user