Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 8m15s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 8m16s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 8m10s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 8m15s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m23s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m41s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 8m59s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m1s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 49s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m11s
Das Portal legt den Rahmen selbst um jede Plugin-Seite; AppLayout aus @inhaus/ui setzt dort nur noch den Titel. Detailseiten nutzen PageHeader. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 line
No EOL
1.3 KiB
JavaScript
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-DIZuUM-n.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}; |