2024-06-06 22:28:35 +02:00
|
|
|
- route = fn p -> ~p"/notifications?#{p}" end
|
2019-11-16 04:50:58 +01:00
|
|
|
|
|
|
|
h1 Notification Area
|
|
|
|
.walloftext
|
2023-11-23 17:07:49 +01:00
|
|
|
= if @notifications.total_pages > 1 do
|
|
|
|
.block__header
|
|
|
|
= render PhilomenaWeb.PaginationView, "_pagination.html", page: @notifications, route: route, conn: @conn
|
2019-11-16 04:50:58 +01:00
|
|
|
|
2019-11-18 18:35:11 +01:00
|
|
|
= cond do
|
|
|
|
- Enum.any?(@notifications) ->
|
|
|
|
= for notification <- @notifications do
|
|
|
|
= render PhilomenaWeb.NotificationView, "_notification.html", notification: notification, conn: @conn
|
2019-11-16 04:50:58 +01:00
|
|
|
|
2019-11-18 18:35:11 +01:00
|
|
|
- true ->
|
|
|
|
p
|
|
|
|
' To get notifications on new comments and forum posts, click the
|
|
|
|
' 'Subscribe' button in the bar at the top of an image or forum topic.
|
|
|
|
' You'll get notifications here for any new posts or comments.
|