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> <h2>Folge-Anfragen</h2>
</div> </div>
</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) { % if ($notifications) {
<div class="row center-align"> <div class="row center-align">
<div class="col s12"> <div class="col s12">
@ -28,19 +17,32 @@
</div> </div>
</div> </div>
% } % }
<!--
<div class="row center-align"> <div class="row center-align">
<div class="col s6"> <div class="col s4">
<button class="btn grey waves-effect waves-light" type="submit" name="reject_follow_request" value="<%= join(q{,}, map { $_->{id} } @{$entries}) %>"> <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 <i class="material-icons left" aria-hidden="true">cancel</i> Alle ablehnen
</button> </button>
</div> </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}) %>"> <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 <i class="material-icons left" aria-hidden="true">check</i> Alle annehmen
</button> </button>
</div> </div>
</div> </div>
<!--
<div class="row center-align"> <div class="row center-align">
<div class="col s6"> <div class="col s6">
<button class="btn red waves-effect waves-light" type="submit" name="block" value="<%= join(q{,}, map { $_->{id} } @{$entries}) %>"> <button class="btn red waves-effect waves-light" type="submit" name="block" value="<%= join(q{,}, map { $_->{id} } @{$entries}) %>">