2024-07-08 00:09:20 +02:00
|
|
|
- topic = @notification.topic
|
|
|
|
- forum = topic.forum
|
2019-11-16 04:50:58 +01:00
|
|
|
|
2019-11-29 20:29:01 +01:00
|
|
|
.flex.flex--centered.flex__grow
|
|
|
|
div
|
2024-07-08 00:09:20 +02:00
|
|
|
=> render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: topic, conn: @conn
|
|
|
|
' posted a new topic titled
|
2019-11-16 04:50:58 +01:00
|
|
|
|
2019-11-29 20:29:01 +01:00
|
|
|
strong>
|
2024-07-08 00:09:20 +02:00
|
|
|
= link topic.title, to: ~p"/forums/#{forum}/topics/#{topic}"
|
|
|
|
|
|
|
|
' in
|
|
|
|
|
|
|
|
=> link forum.name, to: ~p"/forums/#{forum}"
|
2019-11-29 20:29:01 +01:00
|
|
|
|
|
|
|
=> pretty_time @notification.updated_at
|
|
|
|
|
|
|
|
.flex.flex--centered.flex--no-wrap
|
2024-07-30 01:51:25 +02:00
|
|
|
a.button.button--separate-right title="Delete" href=~p"/forums/#{forum}/topics/#{topic}/read" data-method="post" data-remote="true" data-click-hideparent=".notification"
|
2019-11-29 20:29:01 +01:00
|
|
|
i.fa.fa-trash
|