2020-05-24 20:26:10 +00:00
|
|
|
<div class="<%= assigns[:class] || "status h-entry" %>">
|
2020-04-25 16:30:47 +00:00
|
|
|
<div class="status-meta">
|
|
|
|
<h2 class="status-author-nickname">
|
2020-05-20 21:45:12 +00:00
|
|
|
<a href="<%= local_actor_link(@author) %>" class="p-author">
|
2020-04-25 16:30:47 +00:00
|
|
|
<%= @author.data["preferredUsername"] %>
|
|
|
|
</a>
|
|
|
|
</h2>
|
|
|
|
<h3 class="status-author-username">
|
|
|
|
<a href="<%= @author.ap_id %>">
|
|
|
|
<%= display_username(@author) %>
|
|
|
|
</a>
|
|
|
|
</h3>
|
|
|
|
<p class="status-meta-right">
|
2020-05-20 21:45:12 +00:00
|
|
|
<time datetime="<%= @note["published"] %>" class="dt-published"><%= display_timestamp(@note["published"]) %></time>
|
|
|
|
<a href="<%= @note["url"] || @note["id"] %>" class="status-permalink u-url">Permalink</a>
|
2020-04-25 16:30:47 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
2020-05-20 21:45:12 +00:00
|
|
|
<div class="status-content e-content">
|
2020-05-23 02:56:02 +00:00
|
|
|
<%= raw(@note["content"]) %>
|
2020-04-22 02:06:48 +00:00
|
|
|
</div>
|
2020-04-25 16:30:47 +00:00
|
|
|
<div class="status-actions">
|
|
|
|
<a href="<%= Routes.frontend_path(@conn, :reply, @status.id) %>">Reply</a>
|
|
|
|
</div>
|
2020-04-22 02:06:48 +00:00
|
|
|
</div>
|