Loheide-eu-mitarbeiterplatt.../public/build/assets/Comments-cFnWkbZo.js
Friederich Loheide 800e267e1c
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m29s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m31s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m36s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m33s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m56s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 12m35s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m58s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 50s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m13s
Neue Seitenköpfe, global wählbar (0.48.0)
- PageHeader: Kopfband (Standard, kompakt), Kopfband mit Symbol, mit Symbol,
  kräftiger Titel – Einstellung page_header im Erscheinungsbild
- Symbol vom passenden Menüpunkt (aktiv oder per Adresse), Prop icon
- In Spalten (z. B. Downloads) schlichte Form statt Band
- Zurück-Links als breadcrumbs (IT-Service), Profil bearbeiten mit PageHeader
- Plugin-Assets: Fingerabdruck berücksichtigt Änderungszeiten der Dateien

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-28 20:05:37 +00:00

1 line
No EOL
1.3 KiB
JavaScript

import{C as e,O as t,Q as n,S as r,T as i,Y as a,i as o,k as s,kt as c,ot as l,q as u,v as d,w as f,wt as p}from"./framework-CFqPLBV8.js";import{t as m}from"./corner-down-right-Bp8qBhVx.js";import{Q as h,l as g}from"./app-DPANCdgI.js";var _={class:`-my-1 divide-y`},v={class:`flex items-center gap-1.5 text-xs text-muted-foreground`},y={class:`mt-1 text-sm leading-relaxed break-words text-foreground/80`},b={key:0,class:`mt-2 border-t pt-3 text-xs text-muted-foreground`},x={__name:`Comments`,props:{total:{type:Number,required:!0},comments:{type:Array,required:!0}},setup(x){let S=new Intl.DateTimeFormat(`de-DE`,{day:`numeric`,month:`long`,year:`numeric`});return(C,w)=>(u(),e(g,{title:`Kommentare (${x.total})`},{default:l(()=>[r(`ol`,_,[(u(!0),i(d,null,a(x.comments,a=>(u(),i(`li`,{key:a.id,class:`py-3`},[r(`p`,v,[(u(),e(n(a.is_reply?p(m):p(h)),{class:`size-3.5 shrink-0`})),r(`span`,null,c(a.is_reply?`Antwort`:`Kommentar`)+` am `+c(p(S).format(new Date(a.created_at)))+` zu`,1)]),s(p(o),{href:a.post.url,class:`mt-0.5 block text-sm font-medium text-brand-text hover:underline`},{default:l(()=>[t(c(a.post.title),1)]),_:2},1032,[`href`]),r(`p`,y,`„`+c(a.excerpt)+`“`,1)]))),128))]),x.total>x.comments.length?(u(),i(`p`,b,`Die neuesten `+c(x.comments.length)+` von `+c(x.total)+` Kommentaren.`,1)):f(``,!0)]),_:1},8,[`title`]))}};export{x as default};