From bfe310fcca671340d228185705be7fc4f236d153 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Wed, 17 Jan 2018 17:02:43 -0800 Subject: [PATCH] first stab at rendering media --- routes/_components/Status.html | 38 +++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/routes/_components/Status.html b/routes/_components/Status.html index bb5b4bdd..305e24dd 100644 --- a/routes/_components/Status.html +++ b/routes/_components/Status.html @@ -12,17 +12,17 @@ {{/if}}
- - {{original.display_name || original.username}} + + {{originalAccount.display_name || originalAccount.username}} - @{{original.acct}} + @{{originalAccount.acct}} -
- +
{{{status.content}}}
+
+ {{#each originalMedia as media}} +
+ {{media.description || ''}} +
+ {{/each}} +
\ No newline at end of file