From a509c55faca368709044133199f71fb862b1e605 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Mon, 24 Jul 2023 02:46:05 +0200 Subject: html output removed --- views/object.erb | 71 -------------------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 views/object.erb (limited to 'views/object.erb') diff --git a/views/object.erb b/views/object.erb deleted file mode 100644 index b4b7d89..0000000 --- a/views/object.erb +++ /dev/null @@ -1,71 +0,0 @@ -<% @idx +=1 - mention = mention @object['attributedTo'] - JSON.parse(File.read(FOLLOWING))['orderedItems'].include?(@object['attributedTo']) ? follow='unfollow' : follow='follow' - @indent = 0 unless @object['inReplyTo'] -%> -
- ', target='_blank'><%= mention %>  -
- ' /> - - -
- <% unless @object['inReplyTo'] %> -   - <%= @object['published'] %> -   -
- ' /> - - - -
- <% end %> - <% unless @box == 'shared' %> -   -
- ' /> - - - -
- <% end %> - <% unless @object['content'].match(/^

/) %> -

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

- <% unless @box == 'shared' %> - -

- <% end %> -
-<% @object['replies'].each do |reply| - @indent += 2 - @object = reply %> - <%= erb :object %> -<% end %> - -- cgit v1.2.3