From 7bd98a8bf257d6fb37a599ef66589286989cbff9 Mon Sep 17 00:00:00 2001 From: ralf Date: Fri, 24 Nov 2023 07:26:49 +0200 Subject: [PATCH] using single link.svg from api and use it by default for all link* buttons --- api/js/etemplate/Et2Button/ButtonMixin.ts | 1 + filemanager/templates/default/images/link.svg | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 filemanager/templates/default/images/link.svg diff --git a/api/js/etemplate/Et2Button/ButtonMixin.ts b/api/js/etemplate/Et2Button/ButtonMixin.ts index 718a4db941..db94bd1cb7 100644 --- a/api/js/etemplate/Et2Button/ButtonMixin.ts +++ b/api/js/etemplate/Et2Button/ButtonMixin.ts @@ -38,6 +38,7 @@ export const ButtonMixin = (superclass : T) => class exte cancelled: /no(&|\]|$)/, ok: /ok(&|\]|$)/, close: /close(&|\]|$)/, + link: /link(&|\]|_|$)/, add: /(add(&|\]|$)|create)/ // customfields use create* }; diff --git a/filemanager/templates/default/images/link.svg b/filemanager/templates/default/images/link.svg deleted file mode 100644 index c92133ed8d..0000000000 --- a/filemanager/templates/default/images/link.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -