Debian Codegraph @

templates/themes/ansi-dark/status.tmpl

raw
1 - Status ID: {{color "red"}}{{.id}}{{color "reset"}} {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
2 Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
3 {{- if .pinned}}
4 Pinned: {{.pinned}}{{end}}
5 Visibility: {{.visibility}}
6 Date: {{.created_at | tolocal}}
7 URL: {{.url}}
8 {{- if .reblog }}{{with .reblog}}
9 {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
10 ID: {{.id}}
11 Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
12 Date: {{.created_at | tolocal}}
13 {{- if .in_reply_to_id}}
14 Replying to: {{.in_reply_to_id}}{{end}}
15 {{- if .sensitive}}
16 Sensitive: true{{end}}
17 {{- with .spoiler_text}}
18 Spoiler: {{.}}{{end}}
19 Message: {{color "green"}}{{.content | fromhtml | wrap " " 79 | trim}}{{color "reset"}}
20 {{- range .media_attachments}}
21 - Attachment ID: {{.id}}
22 {{- if .description}}
23 Description: {{color ",,bold"}}{{.description}}{{color "reset"}}{{end}}
24 {{- if .text_url}}
25 Text URL: {{.text_url}}{{else if .url}}
26 URL: {{.url}}{{else if .remote_url}}
27 Remote URL: {{.remote_url}}{{end}}{{end}}
28 {{end}}{{else}}
29 {{- if .in_reply_to_id}}
30 Replying to: {{.in_reply_to_id}}{{end}}
31 {{- if .sensitive}}
32 Sensitive: true{{end}}
33 {{- with .spoiler_text}}
34 Spoiler: {{.}}{{end}}
35 Message: {{color "green"}}{{.content | fromhtml | wrap " " 79 | trim}}{{color "reset"}}
36 {{- range .media_attachments}}
37 - Attachment ID: {{.id}}
38 {{- if .text_url}}
39 Text URL: {{.text_url}}{{else if .url}}
40 URL: {{.url}}{{else if .remote_url}}
41 Remote URL: {{.remote_url}}{{end}}{{end}}
42 {{end -}}