templates/themes/ansi-dark/status.tmpl
changeset 172 0d651f070319
parent 169 26a1f0e705c9
child 195 1c655ba64ecf
--- a/templates/themes/ansi-dark/status.tmpl	Sat Oct 21 19:06:26 2017 +0200
+++ b/templates/themes/ansi-dark/status.tmpl	Sat Oct 21 19:12:11 2017 +0200
@@ -1,36 +1,36 @@
-- 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"}}
   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}}
+    ID: {{.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 .in_reply_to_id}}
+    Replying to: {{.in_reply_to_id}}{{end}}
 {{- if .sensitive}}
   Sensitive: true{{end}}
 {{- with .spoiler_text}}
     Spoiler: {{.}}{{end}}
     Message: {{color "green"}}{{.content | fromhtml | wrap "       " 79 | 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}}{{else}}
-{{- if gt .in_reply_to_id 0.0}}
-  Replying to: {{printf "%.0f" .in_reply_to_id}}{{end}}
+{{- if .in_reply_to_id}}
+  Replying to: {{.in_reply_to_id}}{{end}}
 {{- if .sensitive}}
   Sensitive: true{{end}}
 {{- with .spoiler_text}}
   Spoiler: {{.}}{{end}}
   Message: {{color "green"}}{{.content | fromhtml | wrap "     " 79 | 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}}