@extends('admin.panel.layout') @section('admin_title', $app->exists ? 'App bearbeiten' : 'Neue App') @php use App\Models\ProblemRadar\App as PrApp; use App\Models\ProblemRadar\AppPlatform; $isEdit = $app->exists; $action = $isEdit ? route('admin.problemradar.apps.update', $app) : route('admin.problemradar.apps.store'); $categoryLabels = [ 'zielgruppe' => 'Zielgruppe', 'lebensbereich' => 'Lebensbereich', 'problemtyp' => 'Problemtyp', 'notloesung' => 'Notlösung', 'funktion' => 'Funktion', 'haeufigkeit' => 'Häufigkeit', 'staerke' => 'Stärke', 'geschaeftsmodell' => 'Geschäftsmodell', ]; $tagsByCategory = collect($tags)->groupBy('category'); @endphp @section('admin_content')
ProblemRadar · App-Katalog

{{ $isEdit ? $app->name : 'Neue App' }}

Zurück
@if (session('admin_status'))
{{ session('admin_status') }}
@endif @if ($errors->any())
Bitte prüfe die Eingaben: {{ $errors->first() }}
@endif
@csrf @if ($isEdit) @method('PUT') @endif

Grunddaten

Store & Verfügbarkeit

Preis & Gewichtung

Plattformen

Angehakte Plattformen gelten als unterstützt. Wird keine Plattform genutzt, die der Teilnehmer angab, wird die App nicht empfohlen.

@foreach (AppPlatform::PLATFORMS as $platform) @php($existing = $platforms[$platform] ?? null)
@endforeach

Tags & Empfehlungs-Steuerung

Positive Tags erhöhen die Passung (z. B. Lebensbereiche/Funktionen, die die App abdeckt). Ausschluss verhindert die Empfehlung hart, sobald ein Teilnehmer den Tag mitbringt — und „von Empfehlung ausschließen" sperrt die App generell.

@foreach ($tagsByCategory as $category => $catTags)
{{ $categoryLabels[$category] ?? $category }}
@foreach ($catTags as $tag) @endforeach
@endforeach
Abbrechen
@endsection