diff --git a/lib/clacks_web/templates/frontend/_status.html.eex b/lib/clacks_web/templates/frontend/_status.html.eex index 20886b3..f4e3cc7 100644 --- a/lib/clacks_web/templates/frontend/_status.html.eex +++ b/lib/clacks_web/templates/frontend/_status.html.eex @@ -1,7 +1,7 @@ -
+

- + <%= @author.data["preferredUsername"] %>

@@ -11,11 +11,11 @@

- <%= display_timestamp(@note["published"]) %> - " class="status-permalink">Permalink + + " class="status-permalink u-url">Permalink

-
+
<%= @note["content"] %>
diff --git a/lib/clacks_web/templates/frontend/profile.html.eex b/lib/clacks_web/templates/frontend/profile.html.eex index 48d83d8..f013726 100644 --- a/lib/clacks_web/templates/frontend/profile.html.eex +++ b/lib/clacks_web/templates/frontend/profile.html.eex @@ -1,14 +1,12 @@ -

<%= @actor.data["preferredUsername"] %>

-

- <%= if @actor.local do %> - <%= display_username(@actor) %> - <% else %> - +

+

<%= @actor.data["summary"] %>

+
<%= unless @current_user.actor.ap_id == @actor.ap_id do %>