A small ActivityPub server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
559 B

<% newer = prev_page_path(@conn, @statuses_with_authors) %>
<%= if newer do %>
<p class="pagination-link">
<a href="<%= newer %>">Newer</a>
</p>
<% end %>
<ul class="status-list">
<%= for {status, author} <- @statuses_with_authors do %>
<li>
<%= render "_status.html", conn: @conn, author: author, status: status, note: status.data["object"] %>
</li>
<% end %>
</ul>
<% older = next_page_path(@conn, @statuses_with_authors) %>
<%= if older do %>
<p class="pagination-link">
<a href="<%= older %>">Older</a>
</p>
<% end %>