mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Fix unpin hint on the pinned pull requests (#33207)
This commit is contained in:
		| @@ -112,8 +112,8 @@ const ( | ||||
| 	CommentTypePRScheduledToAutoMerge   // 34 pr was scheduled to auto merge when checks succeed | ||||
| 	CommentTypePRUnScheduledToAutoMerge // 35 pr was un scheduled to auto merge when checks succeed | ||||
|  | ||||
| 	CommentTypePin   // 36 pin Issue | ||||
| 	CommentTypeUnpin // 37 unpin Issue | ||||
| 	CommentTypePin   // 36 pin Issue/PullRequest | ||||
| 	CommentTypeUnpin // 37 unpin Issue/PullRequest | ||||
|  | ||||
| 	CommentTypeChangeTimeEstimate // 38 Change time estimate | ||||
| ) | ||||
|   | ||||
| @@ -1652,7 +1652,7 @@ issues.attachment.open_tab = `Click to see "%s" in a new tab` | ||||
| issues.attachment.download = `Click to download "%s"` | ||||
| issues.subscribe = Subscribe | ||||
| issues.unsubscribe = Unsubscribe | ||||
| issues.unpin_issue = Unpin Issue | ||||
| issues.unpin = Unpin | ||||
| issues.max_pinned = "You can't pin more issues" | ||||
| issues.pin_comment = "pinned this %s" | ||||
| issues.unpin_comment = "unpinned this %s" | ||||
|   | ||||
| @@ -16,7 +16,7 @@ | ||||
| 			</div> | ||||
| 			<a class="issue-card-title muted issue-title tw-break-anywhere" href="{{.Link}}">{{.Title | ctx.RenderUtils.RenderIssueSimpleTitle}}</a> | ||||
| 			{{if and $.isPinnedIssueCard $.Page.IsRepoAdmin}} | ||||
| 				<a role="button" class="issue-card-unpin muted tw-flex tw-items-center" data-tooltip-content={{ctx.Locale.Tr "repo.issues.unpin_issue"}} data-issue-id="{{.ID}}" data-unpin-url="{{$.Page.Link}}/unpin/{{.Index}}"> | ||||
| 				<a role="button" class="issue-card-unpin muted tw-flex tw-items-center" data-tooltip-content={{ctx.Locale.Tr "repo.issues.unpin"}} data-issue-id="{{.ID}}" data-unpin-url="{{$.Page.Link}}/unpin/{{.Index}}"> | ||||
| 					{{svg "octicon-x" 16}} | ||||
| 				</a> | ||||
| 			{{end}} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user