2019-11-15 22:50:58 -05:00
|
|
|
h1 Notification Area
|
|
|
|
.walloftext
|
2024-07-07 18:09:20 -04: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 00:37:35 -04:00
|
|
|
|
2024-07-07 18:09:20 -04: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 00:37:35 -04:00
|
|
|
|
2024-07-07 18:09:20 -04:00
|
|
|
.block__header.block__header--light
|
|
|
|
a href=~p"/notifications/categories/#{category}"
|
|
|
|
| View category (
|
|
|
|
= notifications.total_entries
|
|
|
|
| )
|
2019-11-15 22:50:58 -05:00
|
|
|
|
2024-07-07 18:09:20 -04: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.
|