@extends('settings.layouts.app') @section('content')
Dataset Title | ID | Server State | Editor | Date of last modification | @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 == 'editor_accepted') { $rowclass = 'editor_accepted'; } elseif ($dataset->server_state == 'rejected_reviewer') { $rowclass = 'rejected_reviewer'; } elseif ($dataset->server_state == 'reviewed') { $rowclass = 'reviewed'; }elseif ($dataset->server_state == 'released') { $rowclass = 'released'; } elseif ($dataset->server_state == 'published') { $rowclass = 'released'; } @endphp | |||
---|---|---|---|---|---|---|---|---|
@if ($dataset->titles()->first()) {{ $dataset->titles()->first()->value }} @else no title @endif | {{ $dataset->id }} | {{ $dataset->server_state }} | @if ($dataset->server_state == "released") {{--Preferred reviewer: {{ $dataset->reviewer?->login }} | --}}Preferred reviewer: {{ $dataset->preferred_reviewer }} | @elseif ($dataset->server_state == "editor_accepted" || $dataset->server_state == "rejected_reviewer")in approvement by {{ $dataset->editor?->login }} | @endif{{ $dataset->server_date_modified }} | @if ($dataset->server_state == "released") Receive editor task @elseif ($dataset->server_state == "editor_accepted" || $dataset->server_state == "rejected_reviewer") {{-- Edit --}} Approve Reject @elseif ($dataset->server_state == "reviewed") Publish @elseif ($dataset->server_state == "published" && ! $dataset->identifier()->exists()) Make DOI @endif | {{--@if ($dataset->server_state == "unpublished") Publish @endif | --}}