Commit a22c954b authored by Lucas Henrique's avatar Lucas Henrique
Browse files

Ajusta página de resultados quando edital não possui discentes

parent 82461e86
......@@ -56,7 +56,9 @@
<th scope="col">N. Planos</th>
<th scope="col">Avaliador</th>
<th scope="col">Status</th>
@if ($evento->numParticipantes != 0)
<th scope="col">Bolsas</th>
@endif
</tr>
</thead>
<tbody id="projetos">
......@@ -76,7 +78,7 @@
{{$trabalho->area->nome}}
</td>
<td>
{{$trabalho->participantes->count()}}
@if ($evento->numParticipantes != 0) {{$trabalho->participantes->count()}} @else {{$trabalho->proponente->count()}} @endif
</td>
<td>
@if($trabalho->avaliadors->count() > 0)
......@@ -111,11 +113,13 @@
@else
<td>Pendente</td>
@endif
@if ($evento->numParticipantes != 0)
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirmTrab{{$trabalho->id}}" >
Definir
</button>
</td>
@endif
</tr>
@php $cont+=1;@endphp
@endif
......@@ -142,7 +146,9 @@
<th scope="col">N. Planos</th>
<th scope="col">Avaliador</th>
<th scope="col">Status</th>
@if ($evento->numParticipantes != 0)
<th scope="col">Bolsas</th>
@endif
</tr>
</thead>
<tbody id="projetos">
......@@ -162,7 +168,7 @@
{{$trabalho->area->nome}}
</td>
<td>
{{$trabalho->participantes->count()}}
@if ($evento->numParticipantes != 0) {{$trabalho->participantes->count()}} @else {{$trabalho->proponente->count()}} @endif
</td>
<td>
@if($trabalho->avaliadors->count() > 0)
......@@ -197,11 +203,13 @@
@else
<td>Pendente</td>
@endif
@if ($evento->numParticipantes != 0)
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirmTrab{{$trabalho->id}}" >
Definir
</button>
</td>
@endif
</tr>
@php $cont+=1;@endphp
@endif
......@@ -229,7 +237,9 @@
<th scope="col">N. Planos</th>
<th scope="col">Avaliador</th>
<th scope="col">Status</th>
@if ($evento->numParticipantes != 0)
<th scope="col">Bolsas</th>
@endif
</tr>
</thead>
<tbody id="projetos">
......@@ -249,7 +259,7 @@
{{$trabalho->area->nome}}
</td>
<td>
{{$trabalho->participantes->count()}}
@if ($evento->numParticipantes != 0) {{$trabalho->participantes->count()}} @else {{$trabalho->proponente->count()}} @endif
</td>
<td>
@if($trabalho->avaliadors->count() > 0)
......@@ -284,11 +294,13 @@
@else
<td>Pendente</td>
@endif
@if ($evento->numParticipantes != 0)
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirmTrab{{$trabalho->id}}" >
Definir
</button>
</td>
@endif
</tr>
@php $cont+=1;@endphp
@endif
......
......@@ -63,7 +63,9 @@
<th scope="col">N. Planos</th>
<th scope="col">Avaliador</th>
<th scope="col">Status</th>
@if ($evento->numParticipantes != 0)
<th scope="col">Bolsas</th>
@endif
</tr>
</thead>
<tbody id="projetos">
......@@ -84,7 +86,7 @@
{{$trabalho->area->nome}}
</td>
<td>
{{$trabalho->participantes->count()}}
@if ($evento->numParticipantes != 0) {{$trabalho->participantes->count()}} @else {{$trabalho->proponente->count()}} @endif
</td>
<td>
@if($trabalho->avaliadors->count() > 0)
......@@ -119,11 +121,13 @@
@else
<td>Pendente</td>
@endif
@if ($evento->numParticipantes != 0)
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirmTrab{{$trabalho->id}}" >
Definir
</button>
</td>
@endif
</tr>
@php $cont+=1;@endphp
@endif
......@@ -151,7 +155,9 @@
<th scope="col">N. Planos</th>
<th scope="col">Avaliador</th>
<th scope="col">Status</th>
@if ($evento->numParticipantes != 0)
<th scope="col">Bolsas</th>
@endif
</tr>
</thead>
<tbody id="projetos">
......@@ -171,7 +177,7 @@
{{$trabalho->area->nome}}
</td>
<td>
{{$trabalho->participantes->count()}}
@if ($evento->numParticipantes != 0) {{$trabalho->participantes->count()}} @else {{$trabalho->proponente->count()}} @endif
</td>
<td>
@if($trabalho->avaliadors->count() > 0)
......@@ -206,11 +212,13 @@
@else
<td>Pendente</td>
@endif
@if ($evento->numParticipantes != 0)
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirmTrab{{$trabalho->id}}" >
Definir
</button>
</td>
@endif
</tr>
@php $cont+=1;@endphp
@endif
......@@ -239,7 +247,9 @@
<th scope="col">N. Planos</th>
<th scope="col">Avaliador</th>
<th scope="col">Status</th>
@if ($evento->numParticipantes != 0)
<th scope="col">Bolsas</th>
@endif
</tr>
</thead>
<tbody id="projetos">
......@@ -260,7 +270,7 @@
{{$trabalho->area->nome}}
</td>
<td>
{{$trabalho->participantes->count()}}
@if ($evento->numParticipantes != 0) {{$trabalho->participantes->count()}} @else {{$trabalho->proponente->count()}} @endif
</td>
<td>
@if($trabalho->avaliadors->count() > 0)
......@@ -295,11 +305,13 @@
@else
<td>Pendente</td>
@endif
@if ($evento->numParticipantes != 0)
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirmTrab{{$trabalho->id}}" >
Definir
</button>
</td>
@endif
</tr>
@php $cont+=1;@endphp
@endif
......@@ -320,7 +332,7 @@
{{$trabalho->area->nome}}
</td>
<td>
{{$trabalho->participantes->count()}}
@if ($evento->numParticipantes != 0) {{$trabalho->participantes->count()}} @else {{$trabalho->proponente->count()}} @endif
</td>
<td>
@if($trabalho->avaliadors->count() > 0)
......@@ -355,11 +367,13 @@
@else
<td>Pendente</td>
@endif
@if ($evento->numParticipantes != 0)
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirmTrab{{$trabalho->id}}" >
Definir
</button>
</td>
@endif
</tr>
@php $cont+=1;@endphp
@endif
......@@ -387,7 +401,9 @@
<th scope="col">N. Planos</th>
<th scope="col">Avaliador</th>
<th scope="col">Status</th>
@if ($evento->numParticipantes != 0)
<th scope="col">Bolsas</th>
@endif
</tr>
</thead>
<tbody id="projetos">
......@@ -408,7 +424,7 @@
{{$trabalho->area->nome}}
</td>
<td>
{{$trabalho->participantes->count()}}
@if ($evento->numParticipantes != 0) {{$trabalho->participantes->count()}} @else {{$trabalho->proponente->count()}} @endif
</td>
<td>
@if($trabalho->avaliadors->count() > 0)
......@@ -443,11 +459,13 @@
@else
<td>Pendente</td>
@endif
@if ($evento->numParticipantes != 0)
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirmTrab{{$trabalho->id}}" >
Definir
</button>
</td>
@endif
</tr>
@php $cont+=1;@endphp
@endif
......@@ -468,7 +486,7 @@
{{$trabalho->area->nome}}
</td>
<td>
{{$trabalho->participantes->count()}}
@if ($evento->numParticipantes != 0) {{$trabalho->participantes->count()}} @else {{$trabalho->proponente->count()}} @endif
</td>
<td>
@if($trabalho->avaliadors->count() > 0)
......@@ -503,11 +521,13 @@
@else
<td>Pendente</td>
@endif
@if ($evento->numParticipantes != 0)
<td>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalConfirmTrab{{$trabalho->id}}" >
Definir
</button>
</td>
@endif
</tr>
@php $cont+=1;@endphp
@endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment