|
|
@ -188,7 +188,33 @@ |
|
|
|
<input type="checkbox" data-issue-id={{.ID}}></input> |
|
|
|
<input type="checkbox" data-issue-id={{.ID}}></input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
<div class="ui {{if .IsClosed}}{{if .IsPull}}{{if .PullRequest.HasMerged}}purple{{else}}red{{end}}{{else}}red{{end}}{{else}}{{if .IsRead}}white{{else}}green{{end}}{{end}} label">#{{.Index}}</div> |
|
|
|
|
|
|
|
|
|
|
|
{{if .IsClosed}} |
|
|
|
|
|
|
|
{{if .IsPull}} |
|
|
|
|
|
|
|
{{if .PullRequest.HasMerged}} |
|
|
|
|
|
|
|
<div class="ui purple label">#{{.Index}}</div> |
|
|
|
|
|
|
|
<a class="ui purple text">{{svg "octicon-git-pull-request" 16}}</a> |
|
|
|
|
|
|
|
{{else}} |
|
|
|
|
|
|
|
<div class="ui red label">#{{.Index}}</div> |
|
|
|
|
|
|
|
<a class="ui red text">{{svg "octicon-git-pull-request" 16}}</a> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{else}} |
|
|
|
|
|
|
|
<div class="ui red label">#{{.Index}}</div> |
|
|
|
|
|
|
|
<a class="ui red text">{{svg "octicon-issue-closed" 16}}</a> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{else}} |
|
|
|
|
|
|
|
{{if .IsRead}} |
|
|
|
|
|
|
|
<div class="ui white label">#{{.Index}}</div> |
|
|
|
|
|
|
|
{{else}} |
|
|
|
|
|
|
|
<div class="ui green label">#{{.Index}}</div> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{if .IsPull}} |
|
|
|
|
|
|
|
<a class="ui green text">{{svg "octicon-git-pull-request" 16}}</a> |
|
|
|
|
|
|
|
{{else}} |
|
|
|
|
|
|
|
<a class="ui green text">{{svg "octicon-issue-opened" 16}}</a> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
|
|
|
|
<a class="title" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title | RenderEmoji}}</a> |
|
|
|
<a class="title" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title | RenderEmoji}}</a> |
|
|
|
|
|
|
|
|
|
|
|
{{if .IsPull }} |
|
|
|
{{if .IsPull }} |
|
|
|