From f6d9932849afcb44095cd6fa5a883775c2af2ef7 Mon Sep 17 00:00:00 2001 From: Dilshod Rasulov Date: Wed, 19 Aug 2026 18:23:05 +0500 Subject: [PATCH] fix: show only friendly template name in CT template dropdown The CT template select listed both the raw archive file name and the headline on one line, which was long and hard to scan. Render the headline alone and keep the file name in the title tooltip, matching the convention already used on the images page. Falls back to the file name when the repository provides no headline. --- frontend/src/features/templates/TemplateDialogs.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/features/templates/TemplateDialogs.tsx b/frontend/src/features/templates/TemplateDialogs.tsx index 8c315ce..59183b3 100644 --- a/frontend/src/features/templates/TemplateDialogs.tsx +++ b/frontend/src/features/templates/TemplateDialogs.tsx @@ -159,7 +159,8 @@ export function DownloadCTDialog({ open, onClose }: { open: boolean; onClose: () {available.map(a => ( - {a.template}{a.headline ? ` — ${a.headline}` : ''} + // Show the friendly name only; the raw file name stays in the tooltip. + {a.headline || a.template} ))}