--- a/templates/ansi-notification.tmpl Sat May 06 20:25:23 2017 +0200
+++ b/templates/ansi-notification.tmpl Sat May 06 20:26:12 2017 +0200
@@ -10,16 +10,24 @@
Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
Date: {{.created_at}}
URL: {{.url}}
-{{- if gt .in_reply_to_id 0.0}}
- Replying to: {{.in_reply_to_id}}{{end}}
-{{- with .spoiler_text}}
- Spoiler: {{.}}{{end}}
{{- if .reblog }}{{with .reblog}}
{{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
ID: {{printf "%.0f" .id}}
Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
Date: {{.created_at}}
+{{- if gt .in_reply_to_id 0.0}}
+ Replying to: {{.in_reply_to_id}}{{end}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}{{end}}{{else}}
+{{- if gt .in_reply_to_id 0.0}}
+ Replying to: {{.in_reply_to_id}}{{end}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
{{- range .media_attachments}}
- Attachment ID: {{printf "%.0f" .id}}
--- a/templates/ansi-status.tmpl Sat May 06 20:25:23 2017 +0200
+++ b/templates/ansi-status.tmpl Sat May 06 20:26:12 2017 +0200
@@ -2,15 +2,17 @@
Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
Date: {{.created_at}}
URL: {{.url}}
-{{- if gt .in_reply_to_id 0.0}}
- Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
-{{- with .spoiler_text}}
- Spoiler: {{.}}{{end}}
{{- if .reblog }}{{with .reblog}}
{{color ",,bold"}}Reblogged from: {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
ID: {{printf "%.0f" .id}}
Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
Date: {{.created_at}}
+{{- if gt .in_reply_to_id 0.0}}
+ Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
{{- range .media_attachments}}
- Attachment ID: {{printf "%.0f" .id}}
@@ -19,6 +21,12 @@
URL: {{.url}}{{else if .remote_url}}
Remote URL: {{.remote_url}}{{end}}{{end}}
{{end}}{{else}}
+{{- if gt .in_reply_to_id 0.0}}
+ Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
+{{- if .sensitive}}
+ Sensitive: true{{end}}
+{{- with .spoiler_text}}
+ Spoiler: {{.}}{{end}}
Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
{{- range .media_attachments}}
- Attachment ID: {{printf "%.0f" .id}}