clacks/lib/clacks_web/templates/frontend/_status.html.eex

25 lines
722 B
Elixir

<div class="status">
<div class="status-meta">
<h2 class="status-author-nickname">
<a href="<%= @author.ap_id %>">
<%= @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">
<span><%= display_timestamp(@note["published"]) %></span>
<a href="<%= @note["url"] %>" class="status-permalink">Permalink</a>
</p>
</div>
<div class="status-content">
<%= @note["content"] %>
</div>
<div class="status-actions">
<a href="<%= Routes.frontend_path(@conn, :reply, @status.id) %>">Reply</a>
</div>
</div>