templates/themes/ansi/status.tmpl
changeset 88 028f7b02bd3e
parent 78 b40bc3a8b572
child 95 4b80a5396961
equal deleted inserted replaced
87:cd1c3f1610e4 88:028f7b02bd3e
       
     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}}
       
     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}}
       
    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 "blue"}}{{.content | fromhtml}}{{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 "blue"}}{{.content | fromhtml}}{{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 -}}