Skip to content

Commit

Permalink
(Add) Request #3646 (#3954)
Browse files Browse the repository at this point in the history
  • Loading branch information
HDVinnie committed Jul 2, 2024
1 parent 8723e23 commit 4094572
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions resources/views/requests/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,23 @@ class="form__button form__button--filled form__button--centered"
</section>
@endif

<section class="panelV2">
<header class="panel__header">
<section class="panelV2" x-data="toggle">
<header class="panel__header" style="cursor: pointer" x-on:click="toggle">
<h2 class="panel__heading">{{ __('request.voters') }}</h2>
@if ($torrentRequest->bounties->count() > 10)
<div x-show="isToggledOff">
<i
class="{{ config('other.font-awesome') }} fa-plus-circle fa-pull-right"
></i>
Show More
</div>
<div x-show="isToggledOn" x-cloak>
<i
class="{{ config('other.font-awesome') }} fa-minus-circle fa-pull-right"
></i>
Show Less
</div>
@endif
</header>
<div class="data-table-wrapper">
<table class="data-table">
Expand All @@ -257,7 +271,7 @@ class="form__button form__button--filled form__button--centered"
</thead>
<tbody>
@foreach ($torrentRequest->bounties as $bounty)
<tr>
<tr @if($loop->iteration > 10) x-show="isToggledOn" x-cloak @endif>
<td>
<x-user_tag :user="$bounty->user" :anon="$bounty->anon" />
</td>
Expand Down

0 comments on commit 4094572

Please sign in to comment.