templates/themes/ansi-dark/status.tmpl
changeset 172 0d651f070319
parent 169 26a1f0e705c9
child 195 1c655ba64ecf
equal deleted inserted replaced
171:611c211534d0 172:0d651f070319
     1 - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
     1 - Status ID: {{color "red"}}{{.id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
     2   Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
     2   Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
     3   Visibility: {{.visibility}}
     3   Visibility: {{.visibility}}
     4   Date: {{.created_at | tolocal}}
     4   Date: {{.created_at | tolocal}}
     5   URL: {{.url}}
     5   URL: {{.url}}
     6 {{- if .reblog }}{{with .reblog}}
     6 {{- if .reblog }}{{with .reblog}}
     7   {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
     7   {{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
     8     ID: {{printf "%.0f" .id}}
     8     ID: {{.id}}
     9     Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
     9     Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
    10     Date: {{.created_at | tolocal}}
    10     Date: {{.created_at | tolocal}}
    11 {{- if gt .in_reply_to_id 0.0}}
    11 {{- if .in_reply_to_id}}
    12     Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
    12     Replying to: {{.in_reply_to_id}}{{end}}
    13 {{- if .sensitive}}
    13 {{- if .sensitive}}
    14   Sensitive: true{{end}}
    14   Sensitive: true{{end}}
    15 {{- with .spoiler_text}}
    15 {{- with .spoiler_text}}
    16     Spoiler: {{.}}{{end}}
    16     Spoiler: {{.}}{{end}}
    17     Message: {{color "green"}}{{.content | fromhtml | wrap "       " 79 | trim}}{{color "reset"}}
    17     Message: {{color "green"}}{{.content | fromhtml | wrap "       " 79 | trim}}{{color "reset"}}
    18 {{- range .media_attachments}}
    18 {{- range .media_attachments}}
    19     - Attachment ID: {{printf "%.0f" .id}}
    19     - Attachment ID: {{.id}}
    20 {{- if .text_url}}
    20 {{- if .text_url}}
    21       Text URL: {{.text_url}}{{else if .url}}
    21       Text URL: {{.text_url}}{{else if .url}}
    22       URL: {{.url}}{{else if .remote_url}}
    22       URL: {{.url}}{{else if .remote_url}}
    23       Remote URL: {{.remote_url}}{{end}}{{end}}
    23       Remote URL: {{.remote_url}}{{end}}{{end}}
    24 {{end}}{{else}}
    24 {{end}}{{else}}
    25 {{- if gt .in_reply_to_id 0.0}}
    25 {{- if .in_reply_to_id}}
    26   Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
    26   Replying to: {{.in_reply_to_id}}{{end}}
    27 {{- if .sensitive}}
    27 {{- if .sensitive}}
    28   Sensitive: true{{end}}
    28   Sensitive: true{{end}}
    29 {{- with .spoiler_text}}
    29 {{- with .spoiler_text}}
    30   Spoiler: {{.}}{{end}}
    30   Spoiler: {{.}}{{end}}
    31   Message: {{color "green"}}{{.content | fromhtml | wrap "     " 79 | trim}}{{color "reset"}}
    31   Message: {{color "green"}}{{.content | fromhtml | wrap "     " 79 | trim}}{{color "reset"}}
    32 {{- range .media_attachments}}
    32 {{- range .media_attachments}}
    33   - Attachment ID: {{printf "%.0f" .id}}
    33   - Attachment ID: {{.id}}
    34 {{- if .text_url}}
    34 {{- if .text_url}}
    35     Text URL: {{.text_url}}{{else if .url}}
    35     Text URL: {{.text_url}}{{else if .url}}
    36     URL: {{.url}}{{else if .remote_url}}
    36     URL: {{.url}}{{else if .remote_url}}
    37     Remote URL: {{.remote_url}}{{end}}{{end}}
    37     Remote URL: {{.remote_url}}{{end}}{{end}}
    38 {{end -}}
    38 {{end -}}