From 19cd9f7a8d888302d8637af897d407fc34bab522 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 16 Jul 2023 23:01:23 +0200 Subject: account: add a list of sent follow requests --- templates/social_list.html.ep | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'templates/social_list.html.ep') diff --git a/templates/social_list.html.ep b/templates/social_list.html.ep index 9808512..1a3e441 100644 --- a/templates/social_list.html.ep +++ b/templates/social_list.html.ep @@ -2,10 +2,10 @@ %= csrf_field %= hidden_field redirect_to => '/account' % my $count = scalar @{$entries}; -% if ($type eq 'follow-requests') { +% if ($type eq 'follow-requests-received') {
-

Folge-Anfragen

+

Erhaltene Folge-Anfragen

% if ($notifications) { @@ -52,6 +52,18 @@ --> % } +% elsif ($type eq 'follow-requests-sent') { +
+
+

Gestellte Folge-Anfragen

+
+
+
+
+ cancel
Zurücknehmen +
+
+% } % elsif ($type eq 'followers') {
@@ -168,7 +180,7 @@ % for my $entry (@{$entries}) { <%= $entry->{name} %> - % if ($type eq 'follow-requests') { + % if ($type eq 'follow-requests-received') { % } + % elsif ($type eq 'follow-requests-sent') { + + + + % } % elsif ($type eq 'followers') {