Loheide-eu-mitarbeiterplatt.../public/build/assets/EditorialIdeas-5f3LeMZz.js
Friederich Loheide b967c16b6d
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Failing after 8m49s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Failing after 8m47s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Failing after 8m40s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Failing after 9m24s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 11m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 12m4s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 10m37s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 45s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m12s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 10m41s
Einfache Ansicht für Klienten (0.57.0)
Rollen-Schalter simple_ui: größere Schrift, Leichte Sprache automatisch,
Startseite mit großen Kacheln; Hinweis in „Was sieht wer?“.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-30 16:34:14 +00:00

1 line
No EOL
2.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{At as e,C as t,O as n,S as r,T as i,Tt as a,Y as o,i as s,k as c,ot as l,q as u,v as d,w as f}from"./framework-Cy4cevSy.js";import{t as p}from"./eye-off-D_KqiXI-.js";import{t as m}from"./flag-23-kSOGx.js";import{t as h}from"./thumbs-up-G2mLpa21.js";import{C as g,et as _,l as v}from"./app-BuBtedpi.js";import{t as y}from"./StatusBadge-Cr4k8lvF.js";var b={class:`mb-2 flex items-center gap-1.5 text-xs font-semibold tracking-wider text-destructive uppercase`},x={class:`-mx-5 mb-5 divide-y border-y`},S={class:`shrink-0 text-xs text-destructive tabular-nums`},C={key:1,class:`-mx-5 divide-y border-t`},w={class:`min-w-0 flex-1`},T={class:`truncate text-xs text-muted-foreground`},E={class:`inline-flex shrink-0 items-center gap-2.5 text-xs text-muted-foreground tabular-nums`},D={class:`inline-flex items-center gap-1`},O={class:`inline-flex items-center gap-1`},k={key:2,class:`text-sm text-muted-foreground`},A={__name:`EditorialIdeas`,props:{ideas:{type:Array,required:!0},reported:{type:Array,default:()=>[]}},setup(A){return(j,M)=>(u(),t(v,{title:`Ideenbox – zu sichten`,"action-label":`Alle Ideen`,"action-href":`/ideen`},{default:l(()=>[A.reported.length?(u(),i(d,{key:0},[r(`h3`,b,[c(a(m),{class:`size-3.5`}),M[0]||=n(` Gemeldet`,-1)]),r(`ul`,x,[(u(!0),i(d,null,o(A.reported,o=>(u(),i(`li`,{key:o.id,class:`flex items-center gap-3 px-5 py-2.5`},[c(a(s),{href:o.url,class:`min-w-0 flex-1 truncate text-sm font-medium hover:underline`},{default:l(()=>[n(e(o.title),1)]),_:2},1032,[`href`]),o.hidden?(u(),t(a(p),{key:0,class:`size-3.5 shrink-0 text-muted-foreground`,title:`Vorläufig ausgeblendet`})):f(``,!0),r(`span`,S,e(o.reports)+` `+e(o.reports===1?`Meldung`:`Meldungen`),1)]))),128))])],64)):f(``,!0),A.ideas.length?(u(),i(`ul`,C,[(u(!0),i(d,null,o(A.ideas,t=>(u(),i(`li`,{key:t.id,class:`flex items-center gap-3 px-5 py-2.5`},[r(`div`,w,[c(a(s),{href:t.url,class:`block truncate text-sm font-medium hover:underline`},{default:l(()=>[n(e(t.title),1)]),_:2},1032,[`href`]),r(`p`,T,e(t.author?.name??`Anonym`)+` · `+e(a(g)(t.created_at)),1)]),r(`span`,E,[r(`span`,D,[c(a(h),{class:`size-3.5`}),n(` `+e(t.supports),1)]),r(`span`,O,[c(a(_),{class:`size-3.5`}),n(` `+e(t.comments),1)])]),c(y,{status:t.status,label:t.status_label},null,8,[`status`,`label`])]))),128))])):(u(),i(`p`,k,`Keine offenen Ideen.`))]),_:1}))}};export{A as default};