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