static fe: add support for message subjects
This commit is contained in:
parent
e2904b5777
commit
b33fbd58e3
|
@ -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">
|
||||||
|
<%= if @data.title do %>
|
||||||
|
<details>
|
||||||
|
<summary><%= raw @data.title %></summary>
|
||||||
|
<% end %>
|
||||||
<div class="e-content"><%= raw @data.content %></div>
|
<div class="e-content"><%= raw @data.content %></div>
|
||||||
|
<%= if @data.title do %>
|
||||||
|
</details>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue