move publish logic to publish namespace
This commit is contained in:
parent
415016a4c2
commit
ec127b9457
8 changed files with 69 additions and 156 deletions
|
@ -36,7 +36,7 @@
|
|||
|
||||
<td>
|
||||
@if ($dataset->server_state == "inprogress")
|
||||
<a href="{{ URL::route('settings.review.changestate',['id' => $dataset->id, 'targetState' => 'unpublished']) }}" class="pure-button button-small is-success">Release</a>
|
||||
<a href="{{ URL::route('publish.review.changestate',['id' => $dataset->id, 'targetState' => 'unpublished']) }}" class="pure-button button-small is-success">Release</a>
|
||||
{{-- <a href="" class="pure-button button-small is-success">Restrict</a> --}}
|
||||
@endif
|
||||
</td>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
<td>
|
||||
@if ($dataset->server_state == "unpublished")
|
||||
<a href="{{ URL::route('settings.review.changestate',['id' => $dataset->id, 'targetState' => 'published']) }}" class="pure-button button-small is-success">Publish</a>
|
||||
<a href="{{ URL::route('publish.review.changestate',['id' => $dataset->id, 'targetState' => 'published']) }}" class="pure-button button-small is-success">Publish</a>
|
||||
{{-- <a href="" class="pure-button button-small is-success">Restrict</a> --}}
|
||||
@endif
|
||||
</td>
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue