Führe den gemeinsamen Redaktionsarbeitsplatz ein.
Texte, Medienzuordnung und Einordnung teilen sich einen Arbeitsplatz. Fassungen, Rechte und das Datenmodell bleiben unverändert.
This commit is contained in:
1 parent
a359a5fb69
commit
4c29ab2593
140 files changed
+6705
-201
No files matched your search
@@ -0,0 +1,32 @@
|
||||
@php
|
||||
$editable = $this->canEditEditorial();
|
||||
$options = [
|
||||
'kinds' => \App\Domain\Catalog\EditorialContentKind::selectOptions(),
|
||||
'pillars' => \App\Domain\Catalog\Pillar::query()->orderBy('name')->get(['id', 'name']),
|
||||
'dimensions' => \App\Domain\Catalog\EditorialDimension::forSubject($this->getRecord()),
|
||||
];
|
||||
@endphp
|
||||
<div class="luf-field">
|
||||
<label for="redaktion-art">Inhaltsart</label>
|
||||
<select id="redaktion-art" wire:model="kindId" @disabled(! $editable)>
|
||||
<option value="">Keine</option>
|
||||
@foreach ($options['kinds'] as $id => $label)
|
||||
<option value="{{ $id }}">{{ $label }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<fieldset class="luf-checks">
|
||||
<legend>Fachliche Säulen</legend>
|
||||
@foreach ($options['pillars'] as $pillar)
|
||||
<label><input type="checkbox" value="{{ $pillar->id }}" wire:model="pillarIds" @disabled(! $editable)> {{ $pillar->name }}</label>
|
||||
@endforeach
|
||||
</fieldset>
|
||||
@foreach ($options['dimensions'] as $dimension)
|
||||
<fieldset class="luf-checks">
|
||||
<legend>{{ $dimension->label }}</legend>
|
||||
@foreach ($dimension->values as $value)
|
||||
<label><input type="checkbox" value="{{ $value->id }}" wire:model="dimensionIds" @disabled(! $editable)> {{ $value->label }}</label>
|
||||
@endforeach
|
||||
</fieldset>
|
||||
@endforeach
|
||||
<p class="luf-note">Inhaltsart, Säule und Einordnung sind keine Dateiart und keine Freigabe.</p>
|
||||
Reference in new issue
Block a user