static fe: add support for message subjects

This commit is contained in:
William Pitcock 2019-03-02 22:35:54 +00:00 committed by Phil Hagelberg
parent e2904b5777
commit b33fbd58e3

View file

@ -1,6 +1,13 @@
<div class="activity"> <div class="activity">
<%= render("user_card.html", %{user: @data.user}) %> <%= render("user_card.html", %{user: @data.user}) %>
<div class="activity-content"> <div class="activity-content">
<div class="e-content"><%= raw @data.content %></div> <%= if @data.title do %>
<details>
<summary><%= raw @data.title %></summary>
<% end %>
<div class="e-content"><%= raw @data.content %></div>
<%= if @data.title do %>
</details>
<% end %>
</div> </div>
</div> </div>