templates/themes/ansi/status.tmpl
changeset 95 4b80a5396961
parent 88 028f7b02bd3e
child 120 54b6f2a4098b
equal deleted inserted replaced
94:4c0206d283e5 95:4b80a5396961
    11     Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
    11     Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
    12 {{- if .sensitive}}
    12 {{- if .sensitive}}
    13   Sensitive: true{{end}}
    13   Sensitive: true{{end}}
    14 {{- with .spoiler_text}}
    14 {{- with .spoiler_text}}
    15     Spoiler: {{.}}{{end}}
    15     Spoiler: {{.}}{{end}}
    16     Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
    16     Message: {{color "blue"}}{{.content | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}
    17 {{- range .media_attachments}}
    17 {{- range .media_attachments}}
    18     - Attachment ID: {{printf "%.0f" .id}}
    18     - Attachment ID: {{printf "%.0f" .id}}
    19 {{- if .text_url}}
    19 {{- if .text_url}}
    20       Text URL: {{.text_url}}{{else if .url}}
    20       Text URL: {{.text_url}}{{else if .url}}
    21       URL: {{.url}}{{else if .remote_url}}
    21       URL: {{.url}}{{else if .remote_url}}
    25   Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
    25   Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
    26 {{- if .sensitive}}
    26 {{- if .sensitive}}
    27   Sensitive: true{{end}}
    27   Sensitive: true{{end}}
    28 {{- with .spoiler_text}}
    28 {{- with .spoiler_text}}
    29   Spoiler: {{.}}{{end}}
    29   Spoiler: {{.}}{{end}}
    30   Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
    30   Message: {{color "blue"}}{{.content | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}
    31 {{- range .media_attachments}}
    31 {{- range .media_attachments}}
    32   - Attachment ID: {{printf "%.0f" .id}}
    32   - Attachment ID: {{printf "%.0f" .id}}
    33 {{- if .text_url}}
    33 {{- if .text_url}}
    34     Text URL: {{.text_url}}{{else if .url}}
    34     Text URL: {{.text_url}}{{else if .url}}
    35     URL: {{.url}}{{else if .remote_url}}
    35     URL: {{.url}}{{else if .remote_url}}