mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Backport #15387 Fix #15272 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		@@ -112,10 +112,23 @@
 | 
				
			|||||||
					<div class="card board-card" data-issue="{{.ID}}">
 | 
										<div class="card board-card" data-issue="{{.ID}}">
 | 
				
			||||||
						<div class="content">
 | 
											<div class="content">
 | 
				
			||||||
							<div class="header">
 | 
												<div class="header">
 | 
				
			||||||
								<span class="{{if .IsClosed}}red{{else}}green{{end}}">
 | 
													<span>
 | 
				
			||||||
									{{if .IsPull}}{{svg "octicon-git-merge"}}
 | 
														{{if .IsPull}}
 | 
				
			||||||
									{{else if .IsClosed}}{{svg "octicon-issue-closed"}}
 | 
															{{if .PullRequest.HasMerged}}
 | 
				
			||||||
									{{else}}{{svg "octicon-issue-opened"}}
 | 
																{{svg "octicon-git-merge" 16 "text purple"}}
 | 
				
			||||||
 | 
															{{else}}
 | 
				
			||||||
 | 
																{{if .IsClosed}}
 | 
				
			||||||
 | 
																	{{svg "octicon-git-pull-request" 16 "text red"}}
 | 
				
			||||||
 | 
																{{else}}
 | 
				
			||||||
 | 
																	{{svg "octicon-git-pull-request" 16 "text green"}}
 | 
				
			||||||
 | 
																{{end}}
 | 
				
			||||||
 | 
															{{end}}
 | 
				
			||||||
 | 
														{{else}}
 | 
				
			||||||
 | 
															{{if .IsClosed}}
 | 
				
			||||||
 | 
																{{svg "octicon-issue-closed" 16 "text red"}}
 | 
				
			||||||
 | 
															{{else}}
 | 
				
			||||||
 | 
																{{svg "octicon-issue-opened" 16 "text green"}}
 | 
				
			||||||
 | 
															{{end}}
 | 
				
			||||||
									{{end}}
 | 
														{{end}}
 | 
				
			||||||
								</span>
 | 
													</span>
 | 
				
			||||||
								<a class="project-board-title" href="{{$.RepoLink}}/issues/{{.Index}}">#{{.Index}} {{.Title}}</a>
 | 
													<a class="project-board-title" href="{{$.RepoLink}}/issues/{{.Index}}">#{{.Index}} {{.Title}}</a>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user