{% if current_tab == 'posts' %}
{% for item in posts %}
{% set _author = profile_user %}{% set _time = item.time_ago %}{% set _show_share = false %}{% set _show_comment_form = false %}{% include "_post_card.html" %}
{% else %}
No posts yet.
{% endfor %}
{% elif current_tab == 'projects' %}
{% for p in projects %}
{% if user and not person['is_self'] %}
{% if person['is_following'] %}
{% else %}
{% endif %}
{% endif %}
{% else %}
{% if current_tab == 'followers' %}No followers yet.{% else %}Not following anyone yet.{% endif %}
{% endfor %}
{% if people %}
{% endif %}
{% if follow_pagination and follow_pagination.total_pages > 1 %}
{% if follow_pagination.has_prev %}Previous{% endif %}
Page {{ follow_pagination.page }} of {{ follow_pagination.total_pages }}
{% if follow_pagination.has_next %}Next{% endif %}
{% endif %}
{% elif current_tab == 'notifications' %}
{% if is_owner or viewer_is_admin %}
{% if not is_owner %}
Editing notification settings for {{ profile_user['username'] }}.
{% endif %}
Choose how you want to be notified for each event. In-app shows the notification on DevPlace; Push sends it to your subscribed devices; Telegram delivers it to your paired Telegram chat.
{% if not notif_telegram_paired %}
{% if is_owner %}Connect Telegram from the Telegram panel to enable Telegram notifications.{% else %}This user has not connected Telegram, so Telegram notifications cannot be delivered yet.{% endif %}
{% endif %}
Notification
In-app
Push
Telegram
{% for pref in notification_prefs %}
{{ pref.label }}{{ pref.description }}
{% endfor %}
{% else %}
Not available.
{% endif %}
{% else %}
{% for act in activities %}
{% if act['url'] %}
{% set _href = act['url'] %}
{% set _label = (act['type'] == 'post') and 'View post' or 'View comment on post' %}
{% include "_card_link.html" %}
{% endif %}
{% if act['type'] == 'post' %}📝{% else %}💬{% endif %}
{% if act['type'] == 'post' %}Posted{% else %}Commented{% endif %}
{{ dt_ago(act['created_at']) if act['created_at'] else act['time_ago'] }}