Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
[akkoma] / lib / pleroma / web / templates / static_fe / static_fe / _notice.html.eex
index 2a46dadb4fe6ca5b247a9669b0541169278b3aa9..df5e5eeddb3172d747d05299b0a5e065ce332e65 100644 (file)
@@ -5,7 +5,7 @@
   <%= render("_user_card.html", %{user: @user}) %>
   <div class="activity-content">
     <%= if @title != "" do %>
-      <details>
+      <details <%= if open_content?() do %>open<% end %>>
         <summary><%= raw @title %></summary>
         <div class="e-content"><%= raw @content %></div>
       </details>