From 65dfe7aff06dfd3b044a5deb47b03d643c651ec1 Mon Sep 17 00:00:00 2001 From: winter Date: Fri, 14 Feb 2025 22:47:05 +0000 Subject: add pronouns to profiles and notes --- templates/actor_profile.php | 1 + templates/actor_profile_editable.php | 13 ++++++++++--- templates/note.php | 7 ++++++- 3 files changed, 17 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/actor_profile.php b/templates/actor_profile.php index 4692a53..ca19978 100644 --- a/templates/actor_profile.php +++ b/templates/actor_profile.php @@ -16,6 +16,7 @@ $user = UserAccount::findByCurrentSession();
displayName) ?>
+
pronouns) ?>
@getFullHandle() ?>
created->format('Y-m-d')) ?>
diff --git a/templates/actor_profile_editable.php b/templates/actor_profile_editable.php index 1370e53..6ff5d8c 100644 --- a/templates/actor_profile_editable.php +++ b/templates/actor_profile_editable.php @@ -3,9 +3,16 @@ $actor]); ?>
- - +
+ + +
+
+ + +
@getFullHandle() ?>
created->format('Y-m-d')) ?>
diff --git a/templates/note.php b/templates/note.php index 736d5f9..81f7e38 100644 --- a/templates/note.php +++ b/templates/note.php @@ -25,7 +25,12 @@ if ($user != null) {
author->displayName) ?> - @author->getFullHandle()) ?> + + author->pronouns) && trim($note->author->pronouns) != ''): ?> + author->pronouns) ?> • + + @author->getFullHandle()) ?> + created, $prefs?->get('locale.timezone')) -- cgit v1.3