From 5af8d78e195c7479769240b32703d5b76843db4d Mon Sep 17 00:00:00 2001 From: pdp8 Date: Sat, 1 Jul 2023 00:57:48 +0200 Subject: initial refactoring of client.rb --- views/item.erb | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 views/item.erb (limited to 'views/item.erb') diff --git a/views/item.erb b/views/item.erb deleted file mode 100644 index 8036b39..0000000 --- a/views/item.erb +++ /dev/null @@ -1,54 +0,0 @@ -
- <%= @item[:mention] %>  - <% if @item[:mention] != ACCOUNT %> -
- - #<%= @item[:nr] %>' /> - -
-   -
- - #<%= @item[:nr] %>' /> - -
- <% if @dir == 'inbox' %> -   -
- - #<%= @item[:nr] %>' /> - -
- <% end %> - <% end %> - <%= @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 %> -

- -

-
-<% @item[:replies].each do |reply| %> - <%= html reply %> -<% end %> -- cgit v1.2.3