templates/themes/ansi/context.tmpl
changeset 172 0d651f070319
parent 95 4b80a5396961
--- a/templates/themes/ansi/context.tmpl	Sat Oct 21 19:06:26 2017 +0200
+++ b/templates/themes/ansi/context.tmpl	Sat Oct 21 19:12:11 2017 +0200
@@ -1,7 +1,7 @@
 - Context:
   Ancestors:
 {{- range .ancestors}}
-  - Status ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
+  - Status ID: {{color "red"}}{{.id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
     Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
     Date: {{.created_at}}
     URL: {{.url}}
@@ -11,14 +11,14 @@
     Spoiler: {{.}}{{end}}
     Message: {{color "blue"}}{{.content | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}
 {{- range .media_attachments}}
-    - Attachment ID: {{printf "%.0f" .id}}
+    - Attachment ID: {{.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"}}
+  - Status ID: {{color "red"}}{{.id}}{{color "reset"}}  {{color "magenta"}}@{{.account.acct}}{{color "reset"}}
     Name: {{color ",,bold"}}{{.account.display_name}}{{color "reset"}}
     Date: {{.created_at}}
     URL: {{.url}}
@@ -28,7 +28,7 @@
     Spoiler: {{.}}{{end}}
     Message: {{color "blue"}}{{.content | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}
 {{- range .media_attachments}}
-    - Attachment ID: {{printf "%.0f" .id}}
+    - Attachment ID: {{.id}}
 {{- if .text_url}}
       Text URL: {{.text_url}}{{else if .url}}
       URL: {{.url}}{{else if .remote_url}}