mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-26 05:01:06 -08:00
Make the <tr> reflect that it’s active
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
42601fecbf
commit
e143e0c5ee
|
@ -103,7 +103,8 @@
|
|||
</tr>
|
||||
|
||||
@foreach($files as $currentFile)
|
||||
<tr>
|
||||
|
||||
<tr style="{{ ($processDetails && ($currentFile->id == $processDetails->id)) ? 'font-weight: bold' : '' }} " class="{{ ($processDetails && ($currentFile->id == $processDetails->id)) ? 'warning' : '' }}">
|
||||
<td class="col-md-6">{{ $currentFile->file_path }}</td>
|
||||
<td class="col-md-3">{{ $currentFile->created_at }} </td>
|
||||
<td class="col-md-1">{{ $currentFile->filesize }}</td>
|
||||
|
@ -116,9 +117,15 @@
|
|||
<i class="fas fa-trash icon-white" aria-hidden="true"></i><span class="sr-only"></span></button>
|
||||
</td>
|
||||
</tr>
|
||||
@if( $currentFile && $processDetails && ($currentFile->id == $processDetails->id))
|
||||
@livewire('importer-file', ['activeFile' => $currentFile])
|
||||
@endif
|
||||
|
||||
@if( $currentFile && $processDetails && ($currentFile->id == $processDetails->id))
|
||||
<tr class="warning">
|
||||
<td colspan="4">
|
||||
@livewire('importer-file', ['activeFile' => $currentFile])
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue