templates/themes/ansi-dark/context.tmpl
changeset 134 a057c44144a4
parent 95 4b80a5396961
child 172 0d651f070319
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/themes/ansi-dark/context.tmpl	Sat May 13 12:45:52 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 | wrap "     " 80 | 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}}
+  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 | wrap "     " 80 | 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}}