You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

issueicon.tmpl 800B

12345678910111213141516171819202122232425
  1. {{if .IsPull}}
  2. {{if and .PullRequest .PullRequest.HasMerged}}
  3. {{svg "octicon-git-merge" 16 "text purple"}}
  4. {{else if and .GetPullRequest .GetPullRequest.HasMerged}}
  5. {{svg "octicon-git-merge" 16 "text purple"}}
  6. {{else}}
  7. {{if .IsClosed}}
  8. {{svg "octicon-git-pull-request" 16 "text red"}}
  9. {{else}}
  10. {{if and .PullRequest .PullRequest.IsWorkInProgress}}
  11. {{svg "octicon-git-pull-request-draft" 16 "text grey"}}
  12. {{else if and .GetPullRequest .GetPullRequest.IsWorkInProgress}}
  13. {{svg "octicon-git-pull-request-draft" 16 "text grey"}}
  14. {{else}}
  15. {{svg "octicon-git-pull-request" 16 "text green"}}
  16. {{end}}
  17. {{end}}
  18. {{end}}
  19. {{else}}
  20. {{if .IsClosed}}
  21. {{svg "octicon-issue-closed" 16 "text red"}}
  22. {{else}}
  23. {{svg "octicon-issue-opened" 16 "text green"}}
  24. {{end}}
  25. {{end}}