From 8658e4667633eaff1b679851ec3bc3a8e136d145 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 27 Mar 2024 15:25:15 -0600 Subject: [PATCH] Link Paste changes - Add copy & move buttons - Better dialog title - Add some tooltips --- api/js/etemplate/Et2Link/Et2LinkTo.ts | 21 +++++++++++++------ api/js/etemplate/Et2Vfs/Et2VfsSelectButton.ts | 2 ++ api/lang/egw_en.lang | 1 + 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/api/js/etemplate/Et2Link/Et2LinkTo.ts b/api/js/etemplate/Et2Link/Et2LinkTo.ts index 353cc69d85..c4a3b4b3c6 100644 --- a/api/js/etemplate/Et2Link/Et2LinkTo.ts +++ b/api/js/etemplate/Et2Link/Et2LinkTo.ts @@ -159,7 +159,7 @@ export class Et2LinkTo extends Et2InputWidget(ScopedElementsMixin(FormControlMix method=${method || nothing} method-id=${method_id || nothing} multiple - title=${this.egw().lang("link")} + title=${this.egw().lang("select file(s) from vfs")} .buttonLabel=${this.egw().lang('Link')} .onchange=${this.handleVfsSelected} > @@ -168,8 +168,8 @@ export class Et2LinkTo extends Et2InputWidget(ScopedElementsMixin(FormControlMix - + title=${this.egw().lang("Clipboard contents")} + .buttonLabel=${this.egw().lang("link")} + > + + + `; } diff --git a/api/js/etemplate/Et2Vfs/Et2VfsSelectButton.ts b/api/js/etemplate/Et2Vfs/Et2VfsSelectButton.ts index f56e34f031..24a660b4f1 100644 --- a/api/js/etemplate/Et2Vfs/Et2VfsSelectButton.ts +++ b/api/js/etemplate/Et2Vfs/Et2VfsSelectButton.ts @@ -213,6 +213,8 @@ export class Et2VfsSelectButton extends Et2InputWidget(LitElement) return html`