2019-11-16 04:50:58 +01:00
|
|
|
h1 Notification Area
|
|
|
|
.walloftext
|
2024-07-08 00:09:20 +02:00
|
|
|
= for {category, notifications} <- @notifications, Enum.any?(notifications) do
|
|
|
|
.block.notification-type-block
|
|
|
|
.block__header
|
|
|
|
span.block__header__title = name_of_category(category)
|
2024-07-06 06:37:35 +02:00
|
|
|
|
2024-07-08 00:09:20 +02:00
|
|
|
div
|
|
|
|
= for notification <- notifications do
|
|
|
|
.block.block--fixed.flex.notification
|
|
|
|
= render PhilomenaWeb.NotificationView, notification_template_path(category), notification: notification, conn: @conn
|
2024-07-06 06:37:35 +02:00
|
|
|
|
2024-07-08 00:09:20 +02:00
|
|
|
.block__header.block__header--light
|
|
|
|
a href=~p"/notifications/categories/#{category}"
|
|
|
|
| View category (
|
|
|
|
= notifications.total_entries
|
|
|
|
| )
|
2019-11-16 04:50:58 +01:00
|
|
|
|
2024-07-08 00:09:20 +02:00
|
|
|
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.
|