diff options
author | pdp8 <pdp8@pdp8.info> | 2023-06-04 09:56:44 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2023-06-04 09:56:44 +0200 |
commit | 74378829ebe3da4d339bdff37a00675bfc12118f (patch) | |
tree | 2182bff3475d7065f565954442b41ce6924ce642 /views/inbox.erb | |
parent | c727922afd124ae59e05b2da56634a271863f8af (diff) |
css, wait updates
Diffstat (limited to 'views/inbox.erb')
-rw-r--r-- | views/inbox.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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') %> - <b><a href='<%= item['attributedTo'] %>', target='_blank'><%= mention %></a></b> <i><%= item['published'].sub('T', ' ') %></i> + <b><a href='<%= item['attributedTo'] %>', target='_blank'><%= mention %></a></b> <% File.exists?(following_path) ? method = 'unfollow' : method = 'follow' %> <form action='<%= File.join method, mention %>' method='post'> <button><%= method.capitalize %></button> |