philomena/lib/philomena_web/templates/activity/_topic_strip.html.slime

11 lines
543 B
Text
Raw Normal View History

.block__content.block--borderless.block--alternating
2019-10-05 00:52:44 +02:00
= if @topic.sticky do
i.fa.fa-thumbtack>
= if @topic.last_post do
span.hyphenate-breaks
2019-11-12 02:27:09 +01:00
= render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @topic.last_post, conn: @conn
2024-06-06 22:28:35 +02:00
= link("replied to", to: ~p"/forums/#{@topic.forum}/topics/#{@topic}?#{[post_id: @topic.last_post]}" <> "#post_#{@topic.last_post.id}")
=<> link(@topic.title, to: ~p"/forums/#{@topic.forum}/topics/#{@topic}")
2019-10-05 00:52:44 +02:00
' in
2024-06-06 22:28:35 +02:00
=> link(@topic.forum.name, to: ~p"/forums/#{@topic.forum}")