add: last_online and online indicators

This commit is contained in:
trisua 2025-04-02 14:11:01 -04:00
parent d3d0c41334
commit e0a6072cc4
12 changed files with 177 additions and 9 deletions

View file

@ -72,6 +72,14 @@
<span class="notification chip">Joined</span>
<span class="date">{{ profile.created }}</span>
</div>
{% if not profile.settings.private_last_seen or is_self
or is_helper %}
<div class="w-full flex justify-between items-center">
<span class="notification chip">Last seen</span>
<span class="date">{{ profile.last_seen }}</span>
</div>
{% endif %}
</div>
</div>

View file

@ -493,6 +493,11 @@
"{{ profile.settings.private_communities }}",
"checkbox",
],
[
["private_last_seen", "Keep my last seen time private"],
"{{ profile.settings.private_last_seen }}",
"checkbox",
],
],
settings,
);