{{- $codebasePrefix := printf "https://getsturdy.com/%s" .Codebase.GenerateSlug -}}
{{ .Author.Name }}
{{ with .Parent }}
{{- $authorReference := (eq .Author.ID $.User.ID) | ternary "your" (printf "%s's" .Author.Name ) -}}
{{ if .Workspace }} replied to {{ $authorReference }} comment on
{{ .Workspace.NameOrFallback }}: {{ else if .Change }} replied to {{ $authorReference }} comment on
{{ .Change.Title }}: {{ else}} replied to {{ $authorReference }} comment: {{ end }}
{{ else }}
{{ if .Workspace }} commented on
{{ .Workspace.NameOrFallback }}: {{ else if .Change }} commented on
{{ .Change.Title }}: {{ else}} commented: {{ end }}
{{ end }}