From 7f38d569d8dd2491d1b9b8bc0ff1ae016b02f34f Mon Sep 17 00:00:00 2001 From: pdp8 Date: Sun, 2 Jul 2023 00:37:33 +0200 Subject: activity sending/storage unified (send_signed -> outbox) --- views/collection.erb | 9 +++++++-- views/object.erb | 35 +++++++++++++++++++++-------------- 2 files changed, 28 insertions(+), 16 deletions(-) (limited to 'views') diff --git a/views/collection.erb b/views/collection.erb index 8dd3878..4cc449f 100644 --- a/views/collection.erb +++ b/views/collection.erb @@ -5,7 +5,7 @@

<%= @dir %> - <% dirs = ['inbox','outbox','archive'] + <% dirs = ['inbox','outbox','shared'] dirs.delete(@dir) dirs.each do |d| %>
@@ -13,13 +13,18 @@
<% end %>

- <% @threads.each do |object| + <% @idx = 0 + @threads.each do |object| @object = object %> <%= erb :object %> <% end %> + <% unless @dir == 'shared' %>
+ +
+ <% end %>