Merge branch 'bugfix/apc2s_upload_activity' into 'develop'
[akkoma] / lib / pleroma / web / templates / static_fe / static_fe / profile.html.eex
1 <header>
2 <h1><%= link instance_name(), to: "/" %></h1>
3
4 <h3>
5 <form class="pull-right collapse" method="POST" action="<%= Helpers.util_path(@conn, :remote_subscribe) %>">
6 <input type="hidden" name="nickname" value="<%= @user.nickname %>">
7 <input type="hidden" name="profile" value="">
8 <button type="submit" class="collapse">Remote follow</button>
9 </form>
10 <%= raw Formatter.emojify(@user.name, emoji_for_user(@user)) %> |
11 <%= link "@#{@user.nickname}@#{Endpoint.host()}", to: (@user.uri || @user.ap_id) %>
12 </h3>
13 <p><%= raw @user.bio %></p>
14 </header>
15
16 <main>
17 <div class="activity-stream">
18 <%= for activity <- @timeline do %>
19 <%= render("_notice.html", Map.put(activity, :selected, false)) %>
20 <% end %>
21 <p id="pagination">
22 <%= if @prev_page_id do %>
23 <%= link "«", to: "?min_id=" <> @prev_page_id %>
24 <% end %>
25 <%= if @prev_page_id && @next_page_id, do: " | " %>
26 <%= if @next_page_id do %>
27 <%= link "»", to: "?max_id=" <> @next_page_id %>
28 <% end %>
29 </p>
30 </div>
31 </main>