templates/ansi-notification.tmpl
changeset 61 e29fec86e0c9
parent 60 1ca78111de77
child 76 f155f9d86832
equal deleted inserted replaced
60:1ca78111de77 61:e29fec86e0c9
     2   Type: {{color ",,bold"}}{{.type}}{{color "reset"}}
     2   Type: {{color ",,bold"}}{{.type}}{{color "reset"}}
     3   Timestamp: {{.created_at}}
     3   Timestamp: {{.created_at}}
     4 {{- with .url}}
     4 {{- with .url}}
     5       URL: {{.url}}{{end}}
     5       URL: {{.url}}{{end}}
     6 {{- with .account}}
     6 {{- with .account}}
     7   - Account: ({{.id|printf "%.0f"}}) @{{.acct}} - {{.display_name}}{{end}}
     7   - Account: ({{.id|printf "%.0f"}}) {{color "magenta"}}@{{.acct}}{{color "reset"}}{{if .display_name}} - {{color "white,,bold"}}{{.display_name}}{{color "reset"}}{{end}}{{end}}
     8 {{- with .status}}
     8 {{- with .status}}
     9   - Status ID: {{color "red"}}{{.id|printf "%.0f"}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
     9   - Status ID: {{color "red"}}{{.id|printf "%.0f"}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
    10     Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
    10     Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
    11     Date: {{.created_at}}
    11     Date: {{.created_at}}
    12     URL: {{.url}}
    12     URL: {{.url}}