Skip to content

Commit

Permalink
social_list: use blue text to distinguish action icons from info icons
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Jul 20, 2023
1 parent 86ddfe5 commit 3d51395
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions templates/social_list.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -185,36 +185,36 @@
<td><a href="/p/<%= $entry->{name} %>"><%= $entry->{name} %></a></td>
% if ($type eq 'follow-requests-received') {
<td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="block" value="<%= $entry->{id} %>">
<button class="btn-flat blue-text waves-effect waves-light" type="submit" name="block" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="blockieren">block</i>
</button>
</td>
<td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="reject_follow_request" value="<%= $entry->{id} %>">
<button class="btn-flat blue-text waves-effect waves-light" type="submit" name="reject_follow_request" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="ablehnen">cancel</i>
</button>
</td>
<td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="accept_follow_request" value="<%= $entry->{id} %>">
<button class="btn-flat blue-text waves-effect waves-light" type="submit" name="accept_follow_request" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="annehmen">check</i>
</button>
</td>
% }
% elsif ($type eq 'follow-requests-sent') {
<td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="cancel_follow_request" value="<%= $entry->{id} %>">
<button class="btn-flat blue-text waves-effect waves-light" type="submit" name="cancel_follow_request" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="zurücknehmen">cancel</i>
</button>
</td>
% }
% elsif ($type eq 'followers') {
<td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="block" value="<%= $entry->{id} %>">
<button class="btn-flat blue-text waves-effect waves-light" type="submit" name="block" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="blockieren">block</i>
</button>
</td>
<td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="remove_follower" value="<%= $entry->{id} %>">
<button class="btn-flat blue-text waves-effect waves-light" type="submit" name="remove_follower" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="entfernen">remove</i>
</button>
</td>
Expand All @@ -226,7 +226,7 @@
<i class="material-icons" aria-label="Zurückfolgen angefragt">access_time</i>
% }
% elsif ($entry->{can_follow_back} or $entry->{can_request_follow_back}) {
<button class="btn-flat waves-effect waves-light" type="submit" name="follow_or_request" value="<%= $entry->{id} %>">
<button class="btn-flat blue-text waves-effect waves-light" type="submit" name="follow_or_request" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="zurückfolgen">person_add</i>
</button>
% }
Expand All @@ -239,14 +239,14 @@
% }
</td>
<td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="unfollow" value="<%= $entry->{id} %>">
<button class="btn-flat blue-text waves-effect waves-light" type="submit" name="unfollow" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="entfolgen">remove</i>
</button>
</td>
% }
% elsif ($type eq 'blocks') {
<td class="right-align">
<button class="btn-flat waves-effect waves-light" type="submit" name="unblock" value="<%= $entry->{id} %>">
<button class="btn-flat blue-text waves-effect waves-light" type="submit" name="unblock" value="<%= $entry->{id} %>">
<i class="material-icons" aria-label="von Blockliste entefrnen">remove</i>
</button>
</td>
Expand Down

0 comments on commit 3d51395

Please sign in to comment.