From 74378829ebe3da4d339bdff37a00675bfc12118f Mon Sep 17 00:00:00 2001 From: pdp8 Date: Sun, 4 Jun 2023 09:56:44 +0200 Subject: css, wait updates --- views/inbox.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views') diff --git a/views/inbox.erb b/views/inbox.erb index a3e3f83..0be5dd5 100644 --- a/views/inbox.erb +++ b/views/inbox.erb @@ -8,7 +8,7 @@ <% item = JSON.parse(File.read(file)) mention = mention(item['attributedTo']) following_path = File.join('public', 'following', mention + '.json') %> - ', target='_blank'><%= mention %> <%= item['published'].sub('T', ' ') %> + ', target='_blank'><%= mention %>  <% File.exists?(following_path) ? method = 'unfollow' : method = 'follow' %>
-- cgit v1.2.3