correct active routes in backend

This commit is contained in:
Arno Kaimbacher 2019-04-23 13:30:22 +02:00
parent fa31100c2e
commit 0f5e345467
8 changed files with 74 additions and 44 deletions

View file

@ -52,7 +52,7 @@
<td>
@if ($dataset->server_state == "released")
<a href="{{ URL::route('publish.workflow.receive', $dataset->id) }}" class="pure-button">
<a href="{{ URL::route('publish.workflow.editor.receive', $dataset->id) }}" class="pure-button">
<i class="fa fa-check"></i>
<span>Receive editor task</span>
</a>

View file

@ -26,7 +26,7 @@
$message = 'If you are not the desired editor, you can still accept the dataset!!';
@endphp
{!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.receiveUpdate', $dataset->id], 'id' => 'acceptForm',
{!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.editor.receiveUpdate', $dataset->id], 'id' => 'acceptForm',
'class' => 'pure-form', 'enctype' => 'multipart/form-data', 'v-on:submit.prevent' => 'checkForm']) !!}
<fieldset id="fieldset-General">
<legend>General</legend>

View file

@ -55,7 +55,7 @@
<td>
@if ($dataset->server_state == "inprogress")
<a href="{{ URL::route('publish.workflow.release', $dataset->id) }}" class="pure-button">
<a href="{{ URL::route('publish.workflow.submit.release', $dataset->id) }}" class="pure-button">
<i class="fa fa-share"></i>
<span>Release</span>
</a>

View file

@ -16,13 +16,13 @@
<div class="pure-u-1 pure-u-md-1">
<div>
<a href="{{ route('publish.workflow.index') }}" class="pure-button button-small">
<a href="{{ route('publish.workflow.submit.index') }}" class="pure-button button-small">
<i class="fa fa-chevron-left"></i>
<span>BACK</span>
</a>
</div>
<div id="app1">
{!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.releaseUpdate', $dataset->id], 'id' => 'releaseForm',
{!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.submit.releaseUpdate', $dataset->id], 'id' => 'releaseForm',
'class' => 'pure-form', 'enctype' => 'multipart/form-data', 'v-on:submit.prevent' => 'checkForm']) !!}
<fieldset id="fieldset-General">
<legend>General</legend>