From b1d6fbc4d740324d96d7fe2677fb15b9b59d20ea Mon Sep 17 00:00:00 2001 From: winter Date: Thu, 16 Jan 2025 20:21:42 +0000 Subject: follow requests --- templates/skeleton.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'templates/skeleton.php') diff --git a/templates/skeleton.php b/templates/skeleton.php index 6eb6bd1..fced6b8 100644 --- a/templates/skeleton.php +++ b/templates/skeleton.php @@ -1,4 +1,6 @@ @@ -44,6 +46,15 @@ $user = Digitigrade\Model\UserAccount::findByCurrentSession(); [ + [ + 'href' => '/followrequests', + 'icon' => 'person_add', + 'label' => __('navigation.followRequests'), + 'unreadCount' => FollowRelation::countWhere("object = ? AND status = 'pending'", [$user->actor->id]) + ], + ['href' => '/logout', 'icon' => 'logout', 'label' => __('navigation.logout')] + ]]); } ?> -- cgit v1.3