|
256 | 256 | {{else}}
|
257 | 257 | {{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}}
|
258 | 258 | {{end}}
|
259 |
| - |
260 | 259 | {{if .Milestone}}
|
261 | 260 | <a class="milestone" href="{{$.RepoLink}}/milestone/{{.Milestone.ID}}">
|
262 |
| - {{svg "octicon-milestone"}} {{.Milestone.Name}} |
| 261 | + {{svg "octicon-milestone" 14}} {{.Milestone.Name}} |
263 | 262 | </a>
|
264 | 263 | {{end}}
|
265 | 264 | {{if .Ref}}
|
266 | 265 | <a class="ref" href="{{index $.IssueRefURLs .ID}}">
|
267 |
| - {{svg "octicon-git-branch"}} {{index $.IssueRefEndNames .ID}} |
| 266 | + {{svg "octicon-git-branch" 14}} {{index $.IssueRefEndNames .ID}} |
268 | 267 | </a>
|
269 | 268 | {{end}}
|
270 | 269 | {{$tasks := .GetTasks}}
|
271 | 270 | {{if gt $tasks 0}}
|
272 | 271 | {{$tasksDone := .GetTasksDone}}
|
273 | 272 | <span class="checklist">
|
274 |
| - {{svg "octicon-checklist"}} {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span> |
| 273 | + {{svg "octicon-checklist" 14}} {{$tasksDone}} / {{$tasks}} <span class="progress-bar"><span class="progress" style="width:calc(100% * {{$tasksDone}} / {{$tasks}});"></span></span> |
275 | 274 | </span>
|
276 | 275 | {{end}}
|
277 | 276 | {{if ne .DeadlineUnix 0}}
|
278 | 277 | <span class="due-date poping up" data-content="{{$.i18n.Tr "repo.issues.due_date"}}" data-variation="tiny inverted" data-position="right center">
|
279 |
| - {{svg "octicon-calendar"}}<span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span> |
| 278 | + {{svg "octicon-calendar" 14}}<span{{if .IsOverdue}} class="overdue"{{end}}>{{.DeadlineUnix.FormatShort}}</span> |
280 | 279 | </span>
|
281 | 280 | {{end}}
|
282 | 281 | {{if .IsPull}}
|
283 | 282 | {{$approveOfficial := call $approvalCounts .ID "approve"}}
|
284 | 283 | {{$rejectOfficial := call $approvalCounts .ID "reject"}}
|
285 | 284 | {{$waitingOfficial := call $approvalCounts .ID "waiting"}}
|
286 | 285 | {{if gt $approveOfficial 0}}
|
287 |
| - <span class="approvals">{{svg "octicon-check"}} |
| 286 | + <span class="approvals">{{svg "octicon-check" 14}} |
288 | 287 | {{$.i18n.Tr (TrN $.i18n.Lang $approveOfficial "repo.pulls.approve_count_1" "repo.pulls.approve_count_n") $approveOfficial}}
|
289 | 288 | </span>
|
290 | 289 | {{end}}
|
291 | 290 |
|
292 | 291 | {{if gt $rejectOfficial 0}}
|
293 |
| - <span class="rejects">{{svg "octicon-diff"}} |
| 292 | + <span class="rejects">{{svg "octicon-diff" 14}} |
294 | 293 | {{$.i18n.Tr (TrN $.i18n.Lang $rejectOfficial "repo.pulls.reject_count_1" "repo.pulls.reject_count_n") $rejectOfficial}}
|
295 | 294 | </span>
|
296 | 295 | {{end}}
|
297 | 296 |
|
298 | 297 | {{if gt $waitingOfficial 0}}
|
299 |
| - <span class="waiting">{{svg "octicon-eye"}} |
| 298 | + <span class="waiting">{{svg "octicon-eye" 14}} |
300 | 299 | {{$.i18n.Tr (TrN $.i18n.Lang $waitingOfficial "repo.pulls.waiting_count_1" "repo.pulls.waiting_count_n") $waitingOfficial}}
|
301 | 300 | </span>
|
302 | 301 | {{end}}
|
303 | 302 |
|
304 | 303 | {{if and (not .PullRequest.HasMerged) (gt (len .PullRequest.ConflictedFiles) 0)}}
|
305 |
| - <span class="conflicting">{{svg "octicon-x"}} {{$.i18n.Tr (TrN $.i18n.Lang (len .PullRequest.ConflictedFiles) "repo.pulls.num_conflicting_files_1" "repo.pulls.num_conflicting_files_n") (len .PullRequest.ConflictedFiles)}}</span> |
| 304 | + <span class="conflicting">{{svg "octicon-x" 14}} {{$.i18n.Tr (TrN $.i18n.Lang (len .PullRequest.ConflictedFiles) "repo.pulls.num_conflicting_files_1" "repo.pulls.num_conflicting_files_n") (len .PullRequest.ConflictedFiles)}}</span> |
306 | 305 | {{end}}
|
307 | 306 | {{end}}
|
308 | 307 | </div>
|
|
0 commit comments