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

EDITOR PAGE: Approve released 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 == 'editor_accepted') { $rowclass = 'editor_accepted'; } elseif ($dataset->server_state == 'released') { $rowclass = 'released'; } @endphp @if ($dataset->server_state == "released") @elseif ($dataset->server_state == "editor_accepted") @endif {{-- --}} @endforeach
Dataset Title ID Server State Editor
@if ($dataset->titles()->first()) {{ $dataset->titles()->first()->value }} @else no title @endif {{ $dataset->id }} {{ $dataset->server_state }} Preferred editor: {{ optional($dataset->editor)->login }} in approvement by {{ optional($dataset->editor)->login }} @if ($dataset->server_state == "released") Accept editor task {{-- Reject --}} @endif @if ($dataset->server_state == "unpublished") Publish @endif
@stop