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
@@ -1,5 +1,4 @@
|
||||
@php($profile = $this->editorialProfile('artikel'))
|
||||
@php($editable = $this->canEditEditorial())
|
||||
|
||||
<section class="luf-redaktion" aria-label="Redaktion des Lizenzartikels">
|
||||
<h2>Redaktion</h2>
|
||||
@@ -9,53 +8,15 @@
|
||||
@else
|
||||
<p>Keine eindeutige fachliche Quelle. Es wird nichts aus einem Modul, Programm oder Medium abgeleitet.</p>
|
||||
@endif
|
||||
@if ($this->deskFeedback !== '')
|
||||
<p role="status">{{ $this->deskFeedback }}</p>
|
||||
@endif
|
||||
<form wire:submit="saveLicenseEditorial">
|
||||
<label>Interner Arbeitstitel
|
||||
<input type="text" wire:model="workingTitle" @disabled(! $editable)>
|
||||
</label>
|
||||
<label>Anzeigename
|
||||
<input type="text" wire:model="displayTitle" placeholder="{{ $profile->origin('display_title') === 'quelle' ? $profile->value('display_title') : '' }}" @disabled(! $editable)>
|
||||
<span>{{ $profile->originLabel('display_title') }}</span>
|
||||
</label>
|
||||
<label>Teaser
|
||||
<textarea rows="2" wire:model="teaser" placeholder="{{ $profile->origin('teaser') === 'quelle' ? $profile->value('teaser') : '' }}" @disabled(! $editable)></textarea>
|
||||
<span>{{ $profile->originLabel('teaser') }}</span>
|
||||
</label>
|
||||
<label>Kurzbeschreibung
|
||||
<textarea rows="3" wire:model="summary" placeholder="{{ $profile->origin('summary') === 'quelle' ? $profile->value('summary') : '' }}" @disabled(! $editable)></textarea>
|
||||
<span>{{ $profile->originLabel('summary') }}</span>
|
||||
</label>
|
||||
<label>Ausführliche Beschreibung
|
||||
<textarea rows="6" wire:model="descriptionText" placeholder="{{ $profile->origin('description') === 'quelle' ? $profile->value('description') : '' }}" @disabled(! $editable)></textarea>
|
||||
<span>{{ $profile->originLabel('description') }}</span>
|
||||
</label>
|
||||
<label>Suchbegriffe
|
||||
<input type="text" wire:model="searchTerms" @disabled(! $editable)>
|
||||
</label>
|
||||
<label>Inhaltsart
|
||||
<select wire:model="kindId" @disabled(! $editable)>
|
||||
<option value="">Keine</option>
|
||||
@foreach (\App\Domain\Catalog\EditorialContentKind::selectOptions() as $id => $label)
|
||||
<option value="{{ $id }}">{{ $label }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</label>
|
||||
@foreach ($this->licenseDimensionGroups() as $group)
|
||||
<fieldset>
|
||||
<legend>{{ $group['label'] }}</legend>
|
||||
@foreach ($group['values'] as $value)
|
||||
<label><input type="checkbox" value="{{ $value['id'] }}" wire:model="dimensionIds" @disabled(! $editable)> {{ $value['label'] }}</label>
|
||||
@endforeach
|
||||
</fieldset>
|
||||
@endforeach
|
||||
@if ($editable)
|
||||
<button type="submit">Redaktion speichern</button>
|
||||
@endif
|
||||
</form>
|
||||
@include('filament.editorial.variants')
|
||||
@include('filament.editorial.presentation')
|
||||
@include('filament.editorial.presentation-picker')
|
||||
@include('filament.verwaltung.redaktion', [
|
||||
'objektTitel' => trim($this->displayTitle) !== '' ? $this->displayTitle : ($this->workingTitle !== '' ? $this->workingTitle : 'Lizenzartikel'),
|
||||
'objektArt' => 'Lizenzartikel',
|
||||
'zurueckAktion' => '',
|
||||
'zurueckLabel' => '',
|
||||
'speichernAktion' => 'saveLicenseEditorial',
|
||||
'speichernHinweis' => 'Speichert die eigenen Texte und die Einordnung dieses Lizenzartikels. Stand, Preis und Rechte bleiben unverändert.',
|
||||
'pickerAktion' => '',
|
||||
'texte' => 'filament.verwaltung.texte-artikel',
|
||||
'einordnung' => 'filament.verwaltung.einordnung-artikel',
|
||||
])
|
||||
</section>
|
||||
Reference in new issue
Block a user