This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

appview/pages/repo/pipelines: dont copy ssh log cmd quoted, replace inner text with 'Copied!' when copied

Signed-off-by: dawn <dawn@tangled.org>

author
dawn
date (Jul 22, 2026, 12:57 PM +0300) commit a6d43fa2 parent 079c99a6 change-id mxrmmomu
+1 -1
+1 -1
appview/pages/templates/repo/pipelines/workflow.html
··· 112 112 {{ define "sidebarActions" }} 113 113 <div class="mt-auto flex w-full flex-col gap-2"> 114 114 {{ with .SSHLogCommand }} 115 - <button type="button" class="btn flex h-9 min-h-9 w-full items-center justify-center gap-1.5 px-2 py-2 text-sm leading-5" onclick="navigator.clipboard.writeText({{ printf "%q" . }})" title="{{ . }}"> 115 + <button type="button" class="btn flex h-9 min-h-9 w-full items-center justify-center gap-1.5 px-2 py-2 text-sm leading-5" onclick="const button=this; navigator.clipboard.writeText(button.title).then(() => { const content=button.innerHTML; button.textContent='Copied!'; setTimeout(() => button.innerHTML=content, 1500) })" title="{{ . }}"> 116 116 {{ i "copy" "size-4" }} Watch logs via SSH 117 117 </button> 118 118 {{ end }}