templates/ansi-notification.tmpl
changeset 61 e29fec86e0c9
parent 60 1ca78111de77
child 76 f155f9d86832
--- a/templates/ansi-notification.tmpl	Mon May 01 20:49:13 2017 +0200
+++ b/templates/ansi-notification.tmpl	Mon May 01 20:57:09 2017 +0200
@@ -4,7 +4,7 @@
 {{- with .url}}
       URL: {{.url}}{{end}}
 {{- with .account}}
-  - Account: ({{.id|printf "%.0f"}}) @{{.acct}} - {{.display_name}}{{end}}
+  - Account: ({{.id|printf "%.0f"}}) {{color "magenta"}}@{{.acct}}{{color "reset"}}{{if .display_name}} - {{color "white,,bold"}}{{.display_name}}{{color "reset"}}{{end}}{{end}}
 {{- with .status}}
   - Status ID: {{color "red"}}{{.id|printf "%.0f"}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
     Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}