mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 14:17:59 +01:00
hide notification help text when notifications are present
This commit is contained in:
parent
2f4ba6d96d
commit
56fb4a154f
1 changed files with 9 additions and 4 deletions
|
@ -5,8 +5,13 @@ h1 Notification Area
|
||||||
.block__header
|
.block__header
|
||||||
= render PhilomenaWeb.PaginationView, "_pagination.html", page: @notifications, route: route, conn: @conn
|
= render PhilomenaWeb.PaginationView, "_pagination.html", page: @notifications, route: route, conn: @conn
|
||||||
|
|
||||||
= for notification <- @notifications do
|
= cond do
|
||||||
= render PhilomenaWeb.NotificationView, "_notification.html", notification: notification, conn: @conn
|
- Enum.any?(@notifications) ->
|
||||||
|
= for notification <- @notifications do
|
||||||
|
= render PhilomenaWeb.NotificationView, "_notification.html", notification: notification, conn: @conn
|
||||||
|
|
||||||
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.
|
- true ->
|
||||||
p By default you'll be subscribed to any images or topics you reply to. You can configure this in your user settings page.
|
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.
|
||||||
|
|
Loading…
Reference in a new issue