# HG changeset patch # User Mikael Berthe # Date 1500758433 -7200 # Node ID 26a1f0e705c9be856e0d88f81b5d525a5248e4fa # Parent ce4000ac729450448b0ef90772d90dff4ba49262 ansi themes: display visibility diff -r ce4000ac7294 -r 26a1f0e705c9 templates/ansi-notification.tmpl --- a/templates/ansi-notification.tmpl Sun Jul 16 10:33:40 2017 +0200 +++ b/templates/ansi-notification.tmpl Sat Jul 22 23:20:33 2017 +0200 @@ -8,8 +8,7 @@ {{- with .status}} - 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}} + Visibility: {{.visibility}} Date: {{.created_at | tolocal}} URL: {{.url}} {{- if .reblog }}{{with .reblog}} diff -r ce4000ac7294 -r 26a1f0e705c9 templates/ansi-status.tmpl --- a/templates/ansi-status.tmpl Sun Jul 16 10:33:40 2017 +0200 +++ b/templates/ansi-status.tmpl Sat Jul 22 23:20:33 2017 +0200 @@ -1,7 +1,6 @@ - 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}} + Visibility: {{.visibility}} Date: {{.created_at | tolocal}} URL: {{.url}} {{- if .reblog }}{{with .reblog}} diff -r ce4000ac7294 -r 26a1f0e705c9 templates/themes/ansi-dark/notification.tmpl --- a/templates/themes/ansi-dark/notification.tmpl Sun Jul 16 10:33:40 2017 +0200 +++ b/templates/themes/ansi-dark/notification.tmpl Sat Jul 22 23:20:33 2017 +0200 @@ -8,8 +8,7 @@ {{- with .status}} - 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}} + Visibility: {{.visibility}} Date: {{.created_at | tolocal}} URL: {{.url}} {{- if .reblog }}{{with .reblog}} diff -r ce4000ac7294 -r 26a1f0e705c9 templates/themes/ansi-dark/status.tmpl --- a/templates/themes/ansi-dark/status.tmpl Sun Jul 16 10:33:40 2017 +0200 +++ b/templates/themes/ansi-dark/status.tmpl Sat Jul 22 23:20:33 2017 +0200 @@ -1,7 +1,6 @@ - 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}} + Visibility: {{.visibility}} Date: {{.created_at | tolocal}} URL: {{.url}} {{- if .reblog }}{{with .reblog}} diff -r ce4000ac7294 -r 26a1f0e705c9 templates/themes/ansi/notification.tmpl --- a/templates/themes/ansi/notification.tmpl Sun Jul 16 10:33:40 2017 +0200 +++ b/templates/themes/ansi/notification.tmpl Sat Jul 22 23:20:33 2017 +0200 @@ -8,8 +8,7 @@ {{- with .status}} - 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}} + Visibility: {{.visibility}} Date: {{.created_at | tolocal}} URL: {{.url}} {{- if .reblog }}{{with .reblog}} diff -r ce4000ac7294 -r 26a1f0e705c9 templates/themes/ansi/status.tmpl --- a/templates/themes/ansi/status.tmpl Sun Jul 16 10:33:40 2017 +0200 +++ b/templates/themes/ansi/status.tmpl Sat Jul 22 23:20:33 2017 +0200 @@ -1,7 +1,6 @@ - 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}} + Visibility: {{.visibility}} Date: {{.created_at | tolocal}} URL: {{.url}} {{- if .reblog }}{{with .reblog}}