templates/themes/ansi/results.tmpl
changeset 95 4b80a5396961
parent 88 028f7b02bd3e
child 172 0d651f070319
equal deleted inserted replaced
94:4c0206d283e5 95:4b80a5396961
     8     URL: {{color "cyan"}}{{.url}}{{color "reset"}}
     8     URL: {{color "cyan"}}{{.url}}{{color "reset"}}
     9     Statuses: {{.statuses_count}}
     9     Statuses: {{.statuses_count}}
    10     Followers: {{.followers_count}}
    10     Followers: {{.followers_count}}
    11     Following: {{.following_count}}
    11     Following: {{.following_count}}
    12   {{- with .note}}{{if ne . "<p></p>"}}
    12   {{- with .note}}{{if ne . "<p></p>"}}
    13     Note: {{. | fromhtml}}{{end}}{{end}}
    13     Note: {{color "yellow"}}{{. | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}{{end}}{{end}}
    14   {{- if eq .locked true}}
    14   {{- if eq .locked true}}
    15     Locked: true{{end}}{{end}}{{/* of range */}}
    15     Locked: true{{end}}{{end}}{{/* of range */}}
    16 {{end}}{{/* of accounts */}}
    16 {{end}}{{/* of accounts */}}
    17 {{- with .statuses}}{{color ",,bold"}}Statuses:{{color "reset"}}
    17 {{- with .statuses}}{{color ",,bold"}}Statuses:{{color "reset"}}
    18 {{- range .}}
    18 {{- range .}}
    22     URL: {{.url}}
    22     URL: {{.url}}
    23 {{- if .sensitive}}
    23 {{- if .sensitive}}
    24     Sensitive: true{{end}}
    24     Sensitive: true{{end}}
    25 {{- with .spoiler_text}}
    25 {{- with .spoiler_text}}
    26     Spoiler: {{.}}{{end}}
    26     Spoiler: {{.}}{{end}}
    27     Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
    27     Message: {{color "blue"}}{{.content | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}
    28 {{- range .media_attachments}}
    28 {{- range .media_attachments}}
    29     - Attachment ID: {{printf "%.0f" .id}}
    29     - Attachment ID: {{printf "%.0f" .id}}
    30 {{- if .text_url}}
    30 {{- if .text_url}}
    31       Text URL: {{.text_url}}{{else if .url}}
    31       Text URL: {{.text_url}}{{else if .url}}
    32       URL: {{.url}}{{else if .remote_url}}
    32       URL: {{.url}}{{else if .remote_url}}