- add publisher_name and publish_id
- extend DatasetExtension wirt PublisherName and PublishId - adapt migrations
This commit is contained in:
parent
68add9025f
commit
f1728568c3
6 changed files with 44 additions and 35 deletions
|
@ -1,4 +1,4 @@
|
|||
@extends('settings.layouts.app')
|
||||
@extends('settings.layouts.app')
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<h3 class="header-title">
|
||||
|
@ -17,12 +17,14 @@
|
|||
</div>
|
||||
<div id="app1">
|
||||
|
||||
{!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.editor.publishUpdate', $dataset->id],
|
||||
'id' => 'publishForm', 'class' => 'pure-form', 'enctype' => 'multipart/form-data', 'v-on:submit.prevent' => 'checkForm'])
|
||||
{!! Form::model($dataset, [ 'method' => 'POST', 'route' => ['publish.workflow.editor.publishUpdate',
|
||||
$dataset->id],
|
||||
'id' => 'publishForm', 'class' => 'pure-form', 'enctype' => 'multipart/form-data', 'v-on:submit.prevent' =>
|
||||
'checkForm'])
|
||||
!!}
|
||||
<fieldset id="fieldset-General">
|
||||
|
||||
|
||||
|
||||
<h3>Selected Dataset</h3>
|
||||
<table style="margin-left: 2em">
|
||||
<tbody>
|
||||
|
@ -35,43 +37,37 @@
|
|||
</div>
|
||||
@endforeach
|
||||
<div class="authors">
|
||||
@foreach($dataset->persons as $author)
|
||||
|
||||
{{ $author->full_name }}
|
||||
|
||||
@endforeach
|
||||
@foreach($dataset->persons as $author)
|
||||
{{ $author->full_name }}
|
||||
@endforeach
|
||||
</div>
|
||||
<input type="hidden" name="selected[]" value="49">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="instruction">
|
||||
Are you sure you want to publish the selected dataset?
|
||||
</div>
|
||||
<table>
|
||||
<tbody><tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<button type="submit" class="pure-button">
|
||||
<i class="fa fa-share"></i>
|
||||
<span>Set published</span>
|
||||
</button>
|
||||
{{-- <input type="submit" name="sureno" value="No"> --}}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="pure-u-1 pure-u-md-1-2 pure-div">
|
||||
{!! Form::label('publisher_name', 'Publisher Name') !!}
|
||||
{!! Form::text('publisher_name', 'Geologische Bundesanstalt Österreich', ['readonly', 'class' =>
|
||||
'pure-u-23-24', ]) !!}
|
||||
</div>
|
||||
<div class="pure-controls instruction ">
|
||||
<p>
|
||||
Are you sure you want to publish the selected dataset?
|
||||
</p>
|
||||
<button type="submit" class="pure-button">
|
||||
<i class="fa fa-share"></i>
|
||||
<span>Set published</span>
|
||||
</button>
|
||||
{{-- <input type="submit" name="sureno" value="No"> --}}
|
||||
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<br />
|
||||
{{-- <div class="pure-controls">
|
||||
<button type="submit" class="pure-button">
|
||||
<i class="fa fa-share"></i>
|
||||
<span>Set published</span>
|
||||
</button>
|
||||
</div> --}}
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
|
@ -80,6 +76,6 @@
|
|||
</div>
|
||||
|
||||
|
||||
@stop
|
||||
@section('after-scripts')
|
||||
@stop
|
||||
@section('after-scripts')
|
||||
@stop
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue