@extends('settings.layouts.app') @section('content')

Release saved datasets

@foreach($datasets as $dataset) @php //if userid changed from last iteration, store new userid and change color // $lastid = $detail->payment->userid; if ($dataset->server_state == 'inprogress') { $rowclass = 'inprogress'; } elseif ($dataset->server_state == 'released') { $rowclass = 'released'; } elseif ($dataset->server_state == 'editor_accepted' || $dataset->server_state == 'rejected_reviewer') { $rowclass = 'editor_accepted'; } elseif ($dataset->server_state == 'approved') { $rowclass = 'approved'; } elseif ($dataset->server_state == 'reviewed') { $rowclass = 'reviewed'; } elseif ($dataset->server_state == 'rejected_editor') { $rowclass = 'rejected_editor'; } else { $rowclass = ""; } @endphp {{-- --}} @endforeach
Dataset Title Owner Server State Date of last modification
@if ($dataset->titles()->first()) {{ $dataset->titles()->first()->value }} @else no title @endif {{ $dataset->files->count() }} {{ $dataset->user->login }} {{ $dataset->editor?->login }} {{ $dataset->server_state }} {{ $dataset->server_date_modified }} @if ($dataset->server_state == "inprogress" || $dataset->server_state == "rejected_editor") Release {{-- Delete --}} @endif
@stop