summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-06-04 09:56:44 +0200
committerpdp8 <pdp8@pdp8.info>2023-06-04 09:56:44 +0200
commit74378829ebe3da4d339bdff37a00675bfc12118f (patch)
tree2182bff3475d7065f565954442b41ce6924ce642 /views
parentc727922afd124ae59e05b2da56634a271863f8af (diff)
css, wait updates
Diffstat (limited to 'views')
-rw-r--r--views/inbox.erb2
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>&nbsp;<i><%= item['published'].sub('T', ' ') %></i>
+ <b><a href='<%= item['attributedTo'] %>', target='_blank'><%= mention %></a></b>&nbsp;
<% File.exists?(following_path) ? method = 'unfollow' : method = 'follow' %>
<form action='<%= File.join method, mention %>' method='post'>
<button><%= method.capitalize %></button>