File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 239239 {{else}}
240240 {{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}}
241241 {{end}}
242- {{if .IsPull }}{{if .PullRequest.RequiresApproval }}
242+ {{if and .IsPull .PullRequest.RequiresApproval}}
243243 <a class="milestone" href="{{$.Link}}/{{.Index}}">{{.PullRequest.GetReviewLabel $.i18n.Lang | Safe}}</a>
244- {{end}}{{end}}
244+ {{end}}
245245 {{if .Milestone}}
246246 <a class="milestone" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}">
247247 <span class="octicon octicon-milestone"></span> {{.Milestone.Name}}
Original file line number Diff line number Diff line change 206206 {{else}}
207207 {{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName|Escape) | Safe}}
208208 {{end}}
209- {{if .IsPull }}{{if .PullRequest.RequiresApproval }}
210- <a class="milestone" href="{{$.RepoLink}}/issues /{{.Index}}">{{.PullRequest.GetReviewLabel $.i18n.Lang | Safe}}</a>
211- {{end}}{{end}}
209+ {{if and .IsPull .PullRequest.RequiresApproval}}
210+ <a class="milestone" href="{{$.RepoLink}}/pulls /{{.Index}}">{{.PullRequest.GetReviewLabel $.i18n.Lang | Safe}}</a>
211+ {{end}}
212212 {{if .Ref}}
213213 <a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref}}">
214214 <span class="octicon octicon-git-branch"></span> {{.Ref}}
Original file line number Diff line number Diff line change 124124 {{else}}
125125 {{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName|Escape) | Safe}}
126126 {{end}}
127- {{if .IsPull }}{{if .PullRequest.RequiresApproval }}
128- <a class="milestone" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues /{{.Index}}">{{.PullRequest.GetReviewLabel $.i18n.Lang | Safe}}</a>
129- {{end}}{{end}}
127+ {{if and .IsPull .PullRequest.RequiresApproval}}
128+ <a class="milestone" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/pulls /{{.Index}}">{{.PullRequest.GetReviewLabel $.i18n.Lang | Safe}}</a>
129+ {{end}}
130130 {{if .Milestone}}
131131 <a class="milestone" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}">
132132 <span class="octicon octicon-milestone"></span> {{.Milestone.Name}}
You can’t perform that action at this time.
0 commit comments