mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Improve reviewing PR UX (#19612)
This commit is contained in:
		@@ -37,7 +37,7 @@
 | 
			
		||||
			<div class="comment-header-right actions df ac">
 | 
			
		||||
				{{if and .Review}}
 | 
			
		||||
					{{if eq .Review.Type 0}}
 | 
			
		||||
						<div class="ui label basic small yellow">
 | 
			
		||||
						<div class="ui label basic small yellow pending-label">
 | 
			
		||||
						{{$.root.i18n.Tr "repo.issues.review.pending"}}
 | 
			
		||||
						</div>
 | 
			
		||||
					{{else}}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,7 @@
 | 
			
		||||
<div class="ui top right pointing dropdown custom" id="review-box">
 | 
			
		||||
	<div class="ui tiny green button btn-review">
 | 
			
		||||
		{{.i18n.Tr "repo.diff.review"}}
 | 
			
		||||
		<span class="ui small label review-comments-counter" data-pending-comment-number="{{.PendingCodeCommentNumber}}">{{.PendingCodeCommentNumber}}</span>
 | 
			
		||||
		{{svg "octicon-triangle-down" 14 "dropdown icon"}}
 | 
			
		||||
	</div>
 | 
			
		||||
	<div class="menu review-box">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user