--- a/templates/ansi-account.tmpl Sun May 07 23:22:28 2017 +0200
+++ b/templates/ansi-account.tmpl Mon May 08 00:46:02 2017 +0200
@@ -7,6 +7,6 @@
Followers: {{.followers_count}}
Following: {{.following_count}}
{{- with .note}}{{if ne . "<p></p>"}}
- Note: {{. | fromhtml}}{{end}}{{end}}
+ Note: {{color "yellow"}}{{. | fromhtml | wrap " " 80 | trim}}{{color "reset"}}{{end}}{{end}}
{{- if eq .locked true}}
Locked: true{{end}}
--- a/templates/ansi-notification.tmpl Sun May 07 23:22:28 2017 +0200
+++ b/templates/ansi-notification.tmpl Mon May 08 00:46:02 2017 +0200
@@ -21,14 +21,14 @@
Sensitive: true{{end}}
{{- with .spoiler_text}}
Spoiler: {{.}}{{end}}
- Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}{{end}}{{else}}
+ Message: {{color "blue"}}{{.content | fromhtml | wrap " " 80 | trim}}{{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"}}
+ Message: {{color "blue"}}{{.content | fromhtml | wrap " " 80 | trim}}{{color "reset"}}
{{- range .media_attachments}}
- Attachment ID: {{printf "%.0f" .id}}
{{- if .text_url}}
--- a/templates/themes/ansi/account.tmpl Sun May 07 23:22:28 2017 +0200
+++ b/templates/themes/ansi/account.tmpl Mon May 08 00:46:02 2017 +0200
@@ -7,6 +7,6 @@
Followers: {{.followers_count}}
Following: {{.following_count}}
{{- with .note}}{{if ne . "<p></p>"}}
- Note: {{. | fromhtml}}{{end}}{{end}}
+ Note: {{color "yellow"}}{{. | fromhtml | wrap " " 80 | trim}}{{color "reset"}}{{end}}{{end}}
{{- if eq .locked true}}
Locked: true{{end}}
--- a/templates/themes/ansi/notification.tmpl Sun May 07 23:22:28 2017 +0200
+++ b/templates/themes/ansi/notification.tmpl Mon May 08 00:46:02 2017 +0200
@@ -21,14 +21,14 @@
Sensitive: true{{end}}
{{- with .spoiler_text}}
Spoiler: {{.}}{{end}}
- Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}{{end}}{{else}}
+ Message: {{color "blue"}}{{.content | fromhtml | wrap " " 80 | trim}}{{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"}}
+ Message: {{color "blue"}}{{.content | fromhtml | wrap " " 80 | trim}}{{color "reset"}}
{{- range .media_attachments}}
- Attachment ID: {{printf "%.0f" .id}}
{{- if .text_url}}