diff --git a/lang/de/web.php b/lang/de/web.php index 2913759f..84007b37 100644 --- a/lang/de/web.php +++ b/lang/de/web.php @@ -292,6 +292,9 @@ return [ 'print' => 'Drucken', 'report_release' => 'Pressemitteilung melden', 'privacy_rights' => 'Datenschutz & Persönlichkeitsrecht', + 'attribution' => 'Original-Inhalt von :company', + 'attribution_via' => 'Original-Inhalt von :company und übermittelt von :agency', + 'attribution_agency_only' => 'Inhalt übermittelt von :agency', 'legal_question' => 'Sie haben ein rechtliches Anliegen zu dieser Mitteilung?', 'report_content' => 'Inhalt melden', 'remove_data' => 'Eigene Daten entfernen', diff --git a/lang/en/web.php b/lang/en/web.php index 11b8a540..b65bd6ee 100644 --- a/lang/en/web.php +++ b/lang/en/web.php @@ -287,6 +287,9 @@ return [ 'print' => 'Print', 'report_release' => 'Report press release', 'privacy_rights' => 'Privacy & personal rights', + 'attribution' => 'Original content by :company', + 'attribution_via' => 'Original content by :company, submitted by :agency', + 'attribution_agency_only' => 'Content submitted by :agency', 'legal_question' => 'Do you have a legal concern about this release?', 'report_content' => 'Report content', 'remove_data' => 'Remove my data', diff --git a/resources/views/web/release-detail.blade.php b/resources/views/web/release-detail.blade.php index 0b35af5e..17c424eb 100644 --- a/resources/views/web/release-detail.blade.php +++ b/resources/views/web/release-detail.blade.php @@ -60,6 +60,11 @@ $contact = $release->contacts->first(); $contactName = $contact ? trim(implode(' ', array_filter([$contact->title, $contact->first_name, $contact->last_name]))) : null; + // Attributions-Zeile wie im Legacy-System: Urheber (Firma der PM) und + // Übermittler (Profilfeld agency_name des einliefernden Accounts, z. B. + // "connektar.de Presseverteiler" bei API-Einlieferungen). + $agencyName = $release->user?->agency_name; + $publisherVerified = (bool) ($company?->is_active && filled($company?->website)); $isRecommended = $release->content_score !== null && $release->content_score >= 80; @@ -300,6 +305,19 @@ @endif + {{-- Attribution: Urheber & übermittelnder Verteiler (Legacy-Konvention) --}} + @if ($companyName) +
+ @if ($agencyName && $agencyName !== $companyName) + {{ __('web.detail.attribution_via', ['company' => $companyName, 'agency' => $agencyName]) }} + @elseif ($agencyName) + {{ __('web.detail.attribution_agency_only', ['agency' => $agencyName]) }} + @else + {{ __('web.detail.attribution', ['company' => $companyName]) }} + @endif +
+ @endif + {{-- Inhalt melden (T13): sichtbar an jeder Mitteilung, nicht nur in der Sidebar --}}