templates/themes/ansi/account.tmpl
author Mikael Berthe <mikael@lilotux.net>
Sat, 21 Oct 2017 19:12:11 +0200
changeset 172 0d651f070319
parent 138 04cc4b4f8862
child 195 1c655ba64ecf
permissions -rw-r--r--
Update types to reflect Mastodon 2.0.0 API changes This patch requires madon v2.0.0(-dev). (Fixes issue #9)

- Account ID: {{color "red"}}{{.id}}{{color "reset"}}  {{color "magenta"}}@{{.username}}{{color "reset"}}
  UID: {{color "red"}}{{.acct}}{{color "reset"}}
  Display name: {{color "white,,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}}