summaryrefslogtreecommitdiff
path: root/templates/social_list.html.ep
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-06-04 18:55:01 +0200
committerDerf Null <derf@finalrewind.org>2023-06-04 18:55:01 +0200
commitc420994a6fe76b1af0ed350d5ae0a5afee45084a (patch)
treefd3bf9a5b29dc3a5883508efe1c6274e8f4b8631 /templates/social_list.html.ep
parent8d4ba08e2bd38daee8808aa5ca8a5b30ec0c16d6 (diff)
social_list: follow requests: add accept all / reject all buttons
Diffstat (limited to 'templates/social_list.html.ep')
-rw-r--r--templates/social_list.html.ep28
1 files changed, 15 insertions, 13 deletions
diff --git a/templates/social_list.html.ep b/templates/social_list.html.ep
index ed8e92a..9808512 100644
--- a/templates/social_list.html.ep
+++ b/templates/social_list.html.ep
@@ -8,6 +8,15 @@
<h2>Folge-Anfragen</h2>
</div>
</div>
+ % if ($notifications) {
+ <div class="row center-align">
+ <div class="col s12">
+ <button class="btn waves-effect waves-light" type="submit" name="action" value="clear_notifications">
+ <i class="material-icons left" aria-hidden="true">notifications_off</i> Als gelesen markieren
+ </button>
+ </div>
+ </div>
+ % }
<div class="row center-align">
<div class="col s4">
<i class="material-icons">block</i><br/> Blockieren
@@ -19,28 +28,21 @@
<i class="material-icons">check</i><br/> Annehmen
</div>
</div>
- % if ($notifications) {
- <div class="row center-align">
- <div class="col s12">
- <button class="btn waves-effect waves-light" type="submit" name="action" value="clear_notifications">
- <i class="material-icons left" aria-hidden="true">notifications_off</i> Als gelesen markieren
- </button>
- </div>
- </div>
- % }
- <!--
<div class="row center-align">
- <div class="col s6">
- <button class="btn grey waves-effect waves-light" type="submit" name="reject_follow_request" value="<%= join(q{,}, map { $_->{id} } @{$entries}) %>">
+ <div class="col s12">
+ <button class="btn red waves-effect waves-light" type="submit" name="reject_follow_request" value="<%= join(q{,}, map { $_->{id} } @{$entries}) %>">
<i class="material-icons left" aria-hidden="true">cancel</i> Alle ablehnen
</button>
</div>
- <div class="col s6">
+ </div>
+ <div class="row center-align">
+ <div class="col s12">
<button class="btn waves-effect waves-light" type="submit" name="accept_follow_request" value="<%= join(q{,}, map { $_->{id} } @{$entries}) %>">
<i class="material-icons left" aria-hidden="true">check</i> Alle annehmen
</button>
</div>
</div>
+ <!--
<div class="row center-align">
<div class="col s6">
<button class="btn red waves-effect waves-light" type="submit" name="block" value="<%= join(q{,}, map { $_->{id} } @{$entries}) %>">