philomena/lib/philomena_web/templates/activity/_topic_strip.html.slime
2019-11-11 20:27:09 -05:00

13 lines
564 B
Text

.block__content.alternating-color
= if @topic.sticky do
i.fa.fa-thumbtack>
= if @topic.last_post do
span.hyphenate-breaks
= render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @topic.last_post, conn: @conn
' replied to
/=> link_to 'replied to', short_topic_post_path(topic.forum, topic, topic.last_post, anchor: "post_#{topic.last_post.id}") TODO
=> @topic.title
/=<> link_to topic.title, short_topic_path(topic.forum, topic)
' in
=> @topic.forum.name
/=< link_to topic.forum.name, short_forum_path(topic.forum)