diff options
author | William Pitcock <nenolod@dereferenced.org> | 2019-03-02 22:35:54 +0000 |
---|---|---|
committer | Phil Hagelberg <phil@hagelb.org> | 2019-11-09 18:06:51 -0800 |
commit | b33fbd58e3852fc9de58917fafbb2c575a21dde1 (patch) | |
tree | 74a1a372734707bab957308c4bb7245bac253cfb /lib | |
parent | e2904b5777ecf6c8ffe7fe46f09284bb38b03fc2 (diff) | |
download | pleroma-b33fbd58e3852fc9de58917fafbb2c575a21dde1.tar.gz |
static fe: add support for message subjects
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/templates/static_fe/static_fe/notice.html.eex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/pleroma/web/templates/static_fe/static_fe/notice.html.eex b/lib/pleroma/web/templates/static_fe/static_fe/notice.html.eex index e8d905d79..791bd2562 100644 --- a/lib/pleroma/web/templates/static_fe/static_fe/notice.html.eex +++ b/lib/pleroma/web/templates/static_fe/static_fe/notice.html.eex @@ -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> |