From d1ce056288c97eea18e17f1b950194678618cefc Mon Sep 17 00:00:00 2001 From: Gabriel Rodríguez Alberich Date: Wed, 14 Dec 2022 18:15:46 +0100 Subject: Show follows and following counts on profile page And let their visibility be configured--- templates/identity/view.html | 9 +++++++++ templates/settings/profile.html | 1 + 2 files changed, 10 insertions(+) (limited to 'templates') diff --git a/templates/identity/view.html b/templates/identity/view.html index 8d5806f..7e2c8d4 100644 --- a/templates/identity/view.html +++ b/templates/identity/view.html @@ -72,6 +72,15 @@ {% endif %} + {% if identity.config_identity.visible_follows %} +
+ +
+ {% endif %} + {% if not identity.local %} {% if identity.outdated and not identity.name %}

diff --git a/templates/settings/profile.html b/templates/settings/profile.html index 806a930..3cac026 100644 --- a/templates/settings/profile.html +++ b/templates/settings/profile.html @@ -10,6 +10,7 @@ {% include "forms/_field.html" with field=form.name %} {% include "forms/_field.html" with field=form.summary %} {% include "forms/_field.html" with field=form.discoverable %} + {% include "forms/_field.html" with field=form.visible_follows %}

Images -- cgit v1.2.3