This private message is pending approval from a staff member.
<%= if can?(@conn, :approve, @message) do %>
-
<%= link(to: ~p"/conversations/#{@message.conversation_id}/messages/#{@message}/approve", data: [confirm: "Are you sure?"], method: "post", class: "button") do %>
Approve
<% end %>
<% end %>
<% end %>
<%= render(PhilomenaWeb.UserAttributionView, "_user_avatar.html", object: %{user: @message.from}, conn: @conn, class: "avatar--100px") %>
<%= render(PhilomenaWeb.UserAttributionView, "_user.html", object: %{user: @message.from}, badges: true, conn: @conn) %>
<%= render(PhilomenaWeb.UserAttributionView, "_user_title.html", object: %{user: @message.from}, conn: @conn) %>
<%= @body %>
Posted <%= pretty_time(@message.created_at) %>