templates/ansi-notification.tmpl
changeset 172 0d651f070319
parent 169 26a1f0e705c9
--- a/templates/ansi-notification.tmpl	Sat Oct 21 19:06:26 2017 +0200
+++ b/templates/ansi-notification.tmpl	Sat Oct 21 19:12:11 2017 +0200
@@ -1,38 +1,1 @@
-- Notification ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}
-  Type: {{color ",,bold"}}{{.type}}{{color "reset"}}
-  Timestamp: {{.created_at | tolocal}}
-{{- with .url}}
-      URL: {{.url}}{{end}}
-{{- with .account}}
-  - Account: ({{printf "%.0f" .id}}) {{color "magenta"}}@{{.acct}}{{color "reset"}}{{if .display_name}} - {{color "white,,bold"}}{{.display_name}}{{color "reset"}}{{end}}{{end}}
-{{- 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"}}
-    Visibility: {{.visibility}}
-    Date: {{.created_at | tolocal}}
-    URL: {{.url}}
-{{- 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 | tolocal}}
-{{- 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 | wrap "        " 79 | trim}}{{color "reset"}}{{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 | wrap "      " 79 | trim}}{{color "reset"}}
-{{- range .media_attachments}}
-    - Attachment ID: {{printf "%.0f" .id}}
-{{- if .text_url}}
-      Text URL: {{.text_url}}{{else if .url}}
-      URL: {{.url}}{{else if .remote_url}}
-      Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}{{end}}
+themes/ansi/notification.tmpl
\ No newline at end of file