mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
fix homepage topic strips
This commit is contained in:
parent
0c781af388
commit
d030f7774e
1 changed files with 3 additions and 6 deletions
|
@ -4,10 +4,7 @@
|
|||
= 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)
|
||||
= link("replied to", to: Routes.forum_topic_path(@conn, :show, @topic.forum, @topic, post_id: @topic.last_post) <> "#post_#{@topic.last_post.id}")
|
||||
=<> link(@topic.title, to: Routes.forum_topic_path(@conn, :show, @topic.forum, @topic))
|
||||
' in
|
||||
=> @topic.forum.name
|
||||
/=< link_to topic.forum.name, short_forum_path(topic.forum)
|
||||
=> link(@topic.forum.name, to: Routes.forum_path(@conn, :show, @topic.forum))
|
||||
|
|
Loading…
Reference in a new issue