templates/themes/ansi-dark/notification.tmpl
changeset 169 26a1f0e705c9
parent 163 1e9e5e3ae30c
child 172 0d651f070319
equal deleted inserted replaced
168:ce4000ac7294 169:26a1f0e705c9
     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"}}
    11     Visibility: {{.visibility}}
    12     Private: true{{end}}
       
    13     Date: {{.created_at | tolocal}}
    12     Date: {{.created_at | tolocal}}
    14     URL: {{.url}}
    13     URL: {{.url}}
    15 {{- if .reblog }}{{with .reblog}}
    14 {{- if .reblog }}{{with .reblog}}
    16     {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
    15     {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
    17       ID: {{printf "%.0f" .id}}
    16       ID: {{printf "%.0f" .id}}