Add header to profile/notice pages linking to pleroma-fe.
This commit is contained in:
parent
33a26b61c3
commit
918e1353f6
5 changed files with 11 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<p class="pull-right">
|
||||
<%= link @published, to: @link, class: "activity-link" %>
|
||||
</p>
|
||||
<%= render("user_card.html", %{user: @user}) %>
|
||||
<%= render("_user_card.html", %{user: @user}) %>
|
||||
<div class="activity-content">
|
||||
<%= if @title != "" do %>
|
||||
<details>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
<h1><%= link @instance_name, to: "/" %></h1>
|
||||
|
||||
<div class="conversation">
|
||||
<%= for activity <- @activities do %>
|
||||
<%= render("_notice.html", activity) %>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
<h1>
|
||||
<h1><%= link @instance_name, to: "/" %></h1>
|
||||
|
||||
<h3>
|
||||
<form class="pull-right collapse" method="POST" action="<%= Helpers.util_path(@conn, :remote_subscribe) %>">
|
||||
<input type="hidden" name="nickname" value="<%= @user.nickname %>">
|
||||
<input type="hidden" name="profile" value="">
|
||||
<button type="submit" class="collapse">Remote follow</button>
|
||||
</form>
|
||||
<%= raw (@user.name |> Formatter.emojify(emoji_for_user(@user))) %>
|
||||
</h1>
|
||||
</h3>
|
||||
<p><%= raw @user.bio %></p>
|
||||
<div class="activity-stream">
|
||||
<%= for activity <- @timeline do %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue