mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 15:05:45 +00:00
static fe: add support for message subjects
This commit is contained in:
parent
e2904b5777
commit
b33fbd58e3
|
@ -1,6 +1,13 @@
|
|||
<div class="activity">
|
||||
<%= render("user_card.html", %{user: @data.user}) %>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue