templates/themes/ansi/account.tmpl
author Mikael Berthe <mikael@lilotux.net>
Fri, 07 Sep 2018 19:18:30 +0200
changeset 234 f5cd55622194
parent 207 56afbe03a7d4
permissions -rw-r--r--
Display new Account fields in plaintext and templates Display information for bot (automated accounts), source (default settings) and fields (profile metadata).

- Account ID: {{color "red"}}{{.id}}{{color "reset"}}  {{color "magenta"}}@{{.username}}{{color "reset"}}
  UID: {{color "red"}}{{.acct}}{{color "reset"}}
  Display name: {{color "black,,bold"}}{{.display_name}}{{color "reset"}}
  Date: {{.created_at | tolocal}}
  URL: {{color "cyan"}}{{.url}}{{color "reset"}}
  Statuses: {{.statuses_count}}
  Followers: {{.followers_count}}
  Following: {{.following_count}}
{{- with .note}}{{if ne . "<p></p>"}}
  Note: {{color "yellow"}}{{. | fromhtml | wrap "   " 79 | trim}}{{color "reset"}}{{end}}{{end}}
{{- if eq .locked true}}
  Locked: true{{end}}
{{- if eq .bot true}}
  Bot: true{{end}}
{{- with .moved}}
  MOVED to account ID: {{color "red"}}{{.id}}{{color "reset"}}  {{color "magenta"}}@{{.username}}{{color "reset"}}
    UID: {{color "red"}}{{.acct}}{{color "reset"}}
    Display name: {{color "black,,bold"}}{{.display_name}}{{color "reset"}}{{end}}
{{- with .source}}
  Default Privacy: {{.privacy}}
  Sensitive by default: {{.sensitive}}
{{- if .language}}
  Default Language: {{.language}}{{end}}{{end}}
{{- range .fields}}
  . {{color ",,bold"}}Profile metadata: {{color "cyan"}}{{.name}}{{color "reset"}} ยป {{.value | fromhtml | wrap "    " 79 | trim }}{{end}}