From: William Pitcock Date: Sat, 2 Mar 2019 22:35:54 +0000 (+0000) Subject: static fe: add support for message subjects X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b33fbd58e3852fc9de58917fafbb2c575a21dde1;p=akkoma static fe: add support for message subjects --- diff --git a/lib/pleroma/web/templates/static_fe/static_fe/notice.html.eex b/lib/pleroma/web/templates/static_fe/static_fe/notice.html.eex index e8d905d79..791bd2562 100644 --- a/lib/pleroma/web/templates/static_fe/static_fe/notice.html.eex +++ b/lib/pleroma/web/templates/static_fe/static_fe/notice.html.eex @@ -1,6 +1,13 @@
<%= render("user_card.html", %{user: @data.user}) %>
-
<%= raw @data.content %>
+ <%= if @data.title do %> +
+ <%= raw @data.title %> + <% end %> +
<%= raw @data.content %>
+ <%= if @data.title do %> +
+ <% end %>