From e13839321f5b1dd1106a00cd3f93259bdf1ca8c6 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Thu, 8 Jun 2023 23:31:07 +0200 Subject: threads, dark style --- views/index.erb | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'views') diff --git a/views/index.erb b/views/index.erb index a698565..3a245a9 100644 --- a/views/index.erb +++ b/views/index.erb @@ -5,30 +5,7 @@ <% @inbox.each do |item| %> - <%= item[:mention] %>  -
- -
-

<%= item[:content] %> - <% if item[:attachment] - item[:attachment].each do |att| - case att['mediaType'] - when /audio/ %> -
- <% when /image/ %> -
'>'> - <% when /video/ %> -
- <% else %> - <%= att %>
- '><%= att['url'] %> - <% end %> - <% end %> - <% end %> -

-

' method='post'> - -
+ <%= erb :item %>
<% end %> -- cgit v1.2.3