diff --git a/model/campaign.go b/model/campaign.go index 7940ca0..ad9b67b 100644 --- a/model/campaign.go +++ b/model/campaign.go @@ -98,7 +98,11 @@ func (c *Campaign) PrintList(publishedOnly bool) { str = fmt.Sprintf("[%s] %s", color.BlueString(t.JiraLink), t.Summary) } if t.GithubStatus != "" { - str += fmt.Sprintf(" (%s)", color.MagentaString(t.GithubStatus)) + if t.GithubStatus == "open" { + str += fmt.Sprintf(" (%s)", color.GreenString(t.GithubStatus)) + } else { + str += fmt.Sprintf(" (%s)", color.MagentaString(t.GithubStatus)) + } } fmt.Println(str) } else if !publishedOnly {