forked from AkkomaGang/akkoma
static fe: add support for message subjects
This commit is contained in:
parent
e2904b5777
commit
b33fbd58e3
1 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue