{{define "content"}}{{with .Data}}{{$s := .S}}

{{if $s.ID}}{{$s.Name}} {{$s.Status}}{{else}}New signal{{end}}

{{if $s.ID}}
Its prospects{{if .Prospects}} ({{.Prospects}} new){{end}} Add a prospect for it
{{end}}

A guess about why a company buys now, written so it can be tested: what you'll see, and what you expect them to do.

{{if $s.ID}} {{with .Total}}

Funnel

{{range .Cells}}
{{stage .Stage}}{{.Count}}{{with .Rate}}{{.}} of contacted{{end}}
{{end}}

{{if .RevenueCents}}Revenue {{money .RevenueCents}}. {{end}}{{if .SpendCents}}Spend in outside tools {{money .SpendCents}}.{{end}}

{{if $.Data.ByChannel}} {{range $.Data.Stages}}{{end}}{{range $.Data.ByChannel}}{{range .Row.Cells}}{{end}}{{end}}
Channel{{.Label}}
{{channel .Channel}}{{if .Count}}{{.Count}}{{with .Rate}}{{.}}{{end}}{{else}}·{{end}}
{{else}}

Nothing recorded for it yet: tag prospects with it, give it an origami.chat or explee.com campaign, or record outcomes in Review.

{{end}}
{{end}} {{end}}
Back to signals
{{if $s.ID}} {{if .Campaigns}}

Campaigns testing it

{{end}} {{if .Events}}

Latest steps

{{range .Events}}{{end}}
WhenStepChannelWhoNote
{{ago .At}}{{stage .Stage}}{{if .ValueCents}} · {{money .ValueCents}}{{end}}{{if gt .Count 1}} · {{.Count}}{{end}}{{channel .Channel}}{{or .Email .Subject}}{{truncate 120 .Note}}
{{end}}
{{end}} {{end}}{{end}}