social_list: follow requests: add accept all / reject all buttons

This commit is contained in:
Derf Null 2023-06-04 18:55:01 +02:00
parent 8d4ba08e2b
commit c420994a6f
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -8,17 +8,6 @@
<h2>Folge-Anfragen</h2>
</div>
</div>
<div class="row center-align">
<div class="col s4">
<i class="material-icons">block</i><br/> Blockieren
</div>
<div class="col s4">
<i class="material-icons">cancel</i><br/> Ablehnen
</div>
<div class="col s4">
<i class="material-icons">check</i><br/> Annehmen
</div>
</div>
% if ($notifications) {
<div class="row center-align">
<div class="col s12">
@ -28,19 +17,32 @@
</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 s4">
<i class="material-icons">block</i><br/> Blockieren
</div>
<div class="col s4">
<i class="material-icons">cancel</i><br/> Ablehnen
</div>
<div class="col s4">
<i class="material-icons">check</i><br/> Annehmen
</div>
</div>
<div class="row center-align">
<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}) %>">