# HG changeset patch # User Mikael Berthe # Date 1500061989 -7200 # Node ID d417a821e85a901f15cd2649c0ff0c220e5f8a25 # Parent 452865b363fb1e1c49e4f10bd7ffe31fd37eb467 Templates/Themes: Display when messages are private diff -r 452865b363fb -r d417a821e85a templates/ansi-status.tmpl --- a/templates/ansi-status.tmpl Sat Jul 08 16:44:19 2017 +0200 +++ b/templates/ansi-status.tmpl Fri Jul 14 21:53:09 2017 +0200 @@ -1,5 +1,7 @@ - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.account.acct}}{{color "reset"}} Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}} +{{- if eq .visibility "private"}} + Private: true{{end}} Date: {{.created_at | tolocal}} URL: {{.url}} {{- if .reblog }}{{with .reblog}} diff -r 452865b363fb -r d417a821e85a templates/themes/ansi-dark/status.tmpl --- a/templates/themes/ansi-dark/status.tmpl Sat Jul 08 16:44:19 2017 +0200 +++ b/templates/themes/ansi-dark/status.tmpl Fri Jul 14 21:53:09 2017 +0200 @@ -1,5 +1,7 @@ - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.account.acct}}{{color "reset"}} Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}} +{{- if eq .visibility "private"}} + Private: true{{end}} Date: {{.created_at | tolocal}} URL: {{.url}} {{- if .reblog }}{{with .reblog}} diff -r 452865b363fb -r d417a821e85a templates/themes/ansi/status.tmpl --- a/templates/themes/ansi/status.tmpl Sat Jul 08 16:44:19 2017 +0200 +++ b/templates/themes/ansi/status.tmpl Fri Jul 14 21:53:09 2017 +0200 @@ -1,5 +1,7 @@ - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}} {{color "magenta"}}@{{.account.acct}}{{color "reset"}} Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}} +{{- if eq .visibility "private"}} + Private: true{{end}} Date: {{.created_at | tolocal}} URL: {{.url}} {{- if .reblog }}{{with .reblog}}