1 - Notification ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} |
1 themes/ansi/notification.tmpl |
2 Type: {{color ",,bold"}}{{.type}}{{color "reset"}} |
|
3 Timestamp: {{.created_at | tolocal}} |
|
4 {{- with .url}} |
|
5 URL: {{.url}}{{end}} |
|
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}} |
|
8 {{- with .status}} |
|
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"}} |
|
11 Visibility: {{.visibility}} |
|
12 Date: {{.created_at | tolocal}} |
|
13 URL: {{.url}} |
|
14 {{- if .reblog }}{{with .reblog}} |
|
15 {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}} |
|
16 ID: {{printf "%.0f" .id}} |
|
17 Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}} |
|
18 Date: {{.created_at | tolocal}} |
|
19 {{- if gt .in_reply_to_id 0.0}} |
|
20 Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}} |
|
21 {{- if .sensitive}} |
|
22 Sensitive: true{{end}} |
|
23 {{- with .spoiler_text}} |
|
24 Spoiler: {{.}}{{end}} |
|
25 Message: {{color "blue"}}{{.content | fromhtml | wrap " " 79 | trim}}{{color "reset"}}{{end}}{{else}} |
|
26 {{- if gt .in_reply_to_id 0.0}} |
|
27 Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}} |
|
28 {{- if .sensitive}} |
|
29 Sensitive: true{{end}} |
|
30 {{- with .spoiler_text}} |
|
31 Spoiler: {{.}}{{end}} |
|
32 Message: {{color "blue"}}{{.content | fromhtml | wrap " " 79 | trim}}{{color "reset"}} |
|
33 {{- range .media_attachments}} |
|
34 - Attachment ID: {{printf "%.0f" .id}} |
|
35 {{- if .text_url}} |
|
36 Text URL: {{.text_url}}{{else if .url}} |
|
37 URL: {{.url}}{{else if .remote_url}} |
|
38 Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}{{end}} |
|