{{define "content" -}}

~{{.Repo.OwnerName}}/{{.Repo.Name}} · parade

{{template "viewtabs" (dict "Repo" .Repo "Views" .Views "Current" "beads" "Ref" .Ref)}} {{if eq .Data.Mode "detail"}} {{/* ---------------- detail pane ---------------- */}}

← Back to the parade

{{with .Data.Issue}}

{{.ID}} {{.Title}} {{.Lane}}

status: {{.Status}} {{if .Priority}}P{{.Priority}}{{end}} {{if .IssueType}}{{.IssueType}}{{end}} {{if .Assignee}}@{{.Assignee}}{{end}} {{range .Labels}}{{.}}{{end}}
{{if .CreatedBy}}{{end}} {{if .Owner}}{{end}} {{if .CreatedAt}}{{end}} {{if .UpdatedAt}}{{end}} {{if .ClosedAt}}{{end}}
Created by{{.CreatedBy}}
Owner{{.Owner}}
Created{{.CreatedAt}}
Updated{{.UpdatedAt}}
Closed{{.ClosedAt}}
{{if .Description}}
Description
{{.Description}}
{{end}} {{if .Design}}
Design
{{.Design}}
{{end}} {{if .AcceptanceCriteria}}
Acceptance criteria
{{.AcceptanceCriteria}}
{{end}} {{if .Notes}}
Notes
{{.Notes}}
{{end}}

Depends on

{{if $.Data.DependsOn}}
    {{range $.Data.DependsOn}}
  • {{.IssueID}} {{if .Title}}— {{.Title}}{{end}} {{.Type}} {{if .Closed}}closed{{else}}{{.Status}}{{end}}
  • {{end}}
{{else}}

No outgoing dependencies.

{{end}}

Depended on by

{{if $.Data.DependedOnBy}}
    {{range $.Data.DependedOnBy}}
  • {{.IssueID}} {{if .Title}}— {{.Title}}{{end}} {{.Type}}
  • {{end}}
{{else}}

Nothing depends on this issue.

{{end}}

Comments

{{if $.Data.Comments}} {{range $.Data.Comments}}
{{.Author}} {{if .CreatedAt}}· {{.CreatedAt}}{{end}}
{{.Text}}
{{end}} {{else}}

No comments.

{{end}} {{else}}
Issue not found.
{{end}} {{else}} {{/* ---------------- board ---------------- */}} {{if .Data.Truncated}}
Showing the first {{.Data.Total}} of {{.Data.ShownOf}} issues.
{{end}}
{{.Data.Counts.Rolling}}
Rolling
{{.Data.Counts.LinedUp}}
Lined Up
{{.Data.Counts.Stalled}}
Stalled
{{.Data.Counts.PastStand}}
Past Stand
{{.Data.Counts.Total}}
Total
{{range .Data.Lanes}} {{end}}
{{end}}
{{- end}}