templates/ansi-notification.tmpl
changeset 163 1e9e5e3ae30c
parent 124 20d514540f37
child 169 26a1f0e705c9
equal deleted inserted replaced
162:3118ab97c8df 163:1e9e5e3ae30c
     6 {{- with .account}}
     6 {{- with .account}}
     7   - Account: ({{printf "%.0f" .id}}) {{color "magenta"}}@{{.acct}}{{color "reset"}}{{if .display_name}} - {{color "white,,bold"}}{{.display_name}}{{color "reset"}}{{end}}{{end}}
     7   - Account: ({{printf "%.0f" .id}}) {{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"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
     9   - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{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 {{- if eq .visibility "private"}}
       
    12     Private: true{{end}}
    11     Date: {{.created_at | tolocal}}
    13     Date: {{.created_at | tolocal}}
    12     URL: {{.url}}
    14     URL: {{.url}}
    13 {{- if .reblog }}{{with .reblog}}
    15 {{- if .reblog }}{{with .reblog}}
    14     {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
    16     {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
    15       ID: {{printf "%.0f" .id}}
    17       ID: {{printf "%.0f" .id}}