{% if notifications | length %}
{% for notification in notifications %}
{% set member = frappe.db.get_value("User", notification.from_user, ["username", "full_name", "user_image"], as_dict=1) %} {{ widgets.Avatar(member=member, avatar_class="avatar-medium") }}
{{ notification.subject }} {{ frappe.utils.pretty_date(notification.creation) }}
{% endfor %}
{% else %}
{{ _("No Notifications") }}
{{ _("You don't have any notifications.") }}
{% endif %}