templates/themes/ansi/context.tmpl
changeset 88 028f7b02bd3e
child 95 4b80a5396961
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi/context.tmpl	Sun May 07 17:15:00 2017 +0200
@@ -0,0 +1,35 @@
+- Context:
+  Ancestors:
+{{- range .ancestors}}
+  - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+    Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
+    Date: {{.created_at}}
+    URL: {{.url}}
+{{- 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}}
+{{- if .text_url}}
+      Text URL: {{.text_url}}{{else if .url}}
+      URL: {{.url}}{{else if .remote_url}}
+      Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}
+  Descendants:
+{{- range .descendants}}
+  - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+    Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
+    Date: {{.created_at}}
+    URL: {{.url}}
+{{- 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}}
+{{- if .text_url}}
+      Text URL: {{.text_url}}{{else if .url}}
+      URL: {{.url}}{{else if .remote_url}}
+      Remote URL: {{.remote_url}}{{end}}{{end}}{{end}}