From e8744e98a02eaae4324c4aeedd453ab2ad664552 Mon Sep 17 00:00:00 2001 From: Gerd Date: Tue, 1 Sep 2026 18:30:23 +0200 Subject: [PATCH] =?UTF-8?q?Listen:=20Tooltips=20f=C3=BCr=20alle=20Aktions-?= =?UTF-8?q?Buttons=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In kundenliste, projektliste und Gesprächsnotizenliste haben die edit-Buttons bzw. die Projekte-Anzeigen-Buttons bisher keinen Tooltip gehabt. Jetzt sind alle Aktions-Buttons einheitlich mit title-Attribut versehen. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- Client/Components/call_log.ts | 2 +- Client/Components/kunde.ts | 4 ++-- Client/Components/projekt.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Client/Components/call_log.ts b/Client/Components/call_log.ts index 79a027f..0ccbd39 100644 --- a/Client/Components/call_log.ts +++ b/Client/Components/call_log.ts @@ -87,7 +87,7 @@ export const call_log_liste: m.ClosureComponent = (vnode) => { m("span", log.betreff), m("span", log.wiedervorlageDatum), m("span", log.erledigt ? "Erledigt" : "Offen"), - m("button.w3-button.w3-small", {style: {padding: '0 2px'}, onclick: (e: Event) => editCallLog(log, e)}, m("i.material-icons", "edit")) + m("button.w3-button.w3-small", {title: "Gesprächsnotiz bearbeiten", style: {padding: '0 2px'}, onclick: (e: Event) => editCallLog(log, e)}, m("i.material-icons", "edit")) ] } diff --git a/Client/Components/kunde.ts b/Client/Components/kunde.ts index 6a20ee9..96ac10e 100644 --- a/Client/Components/kunde.ts +++ b/Client/Components/kunde.ts @@ -123,8 +123,8 @@ export const kundenliste: m.ClosureComponent = (vnode) => { m("span", kunde.ort), m("span", kunde.land), m("div", {style: {display: 'flex', gap: '0', 'white-space': 'nowrap'}}, - m("button.w3-button.w3-small", {style: {padding: '0 2px'}, onclick: (e: Event) => editKunde(kunde, e)}, m("i.material-icons", "edit")), - m("button.w3-button.w3-small", {style: {padding: '0 2px'}, onclick: (e: Event) => showProjekte(kunde, e)}, m("i.material-icons", "library_books")), + m("button.w3-button.w3-small", {title: "Kunde bearbeiten", style: {padding: '0 2px'}, onclick: (e: Event) => editKunde(kunde, e)}, m("i.material-icons", "edit")), + m("button.w3-button.w3-small", {title: "Projekte anzeigen", style: {padding: '0 2px'}, onclick: (e: Event) => showProjekte(kunde, e)}, m("i.material-icons", "library_books")), m("button.w3-button.w3-small", {title: "Kontakte anzeigen", style: {padding: '0 2px'}, onclick: (e: Event) => showKontakte(kunde, e)}, m("i.material-icons", "contact_page")) ) ] diff --git a/Client/Components/projekt.ts b/Client/Components/projekt.ts index a0b97d5..1ad2b60 100644 --- a/Client/Components/projekt.ts +++ b/Client/Components/projekt.ts @@ -98,7 +98,7 @@ export const projektliste: m.ClosureComponent = (vnode) => { m("span", projekt.verantwortlicher), m("span", projekt.startdatum), m("div", {style: {display: 'flex', gap: '0', 'white-space': 'nowrap'}}, - m("button.w3-button.w3-small", {style: {padding: '0 2px'}, onclick: (e: Event) => editProjekt(projekt, e)}, m("i.material-icons", "edit")), + m("button.w3-button.w3-small", {title: "Projekt bearbeiten", style: {padding: '0 2px'}, onclick: (e: Event) => editProjekt(projekt, e)}, m("i.material-icons", "edit")), m("button.w3-button.w3-small", {title: "Kontaktadressen anzeigen", style: {padding: '0 2px'}, onclick: (e: Event) => showKontaktadressen(projekt, e)}, m("i.material-icons", "contact_page")), m("button.w3-button.w3-small", {title: "Gesprächsnotizen anzeigen", style: {padding: '0 2px'}, onclick: (e: Event) => showCallLogs(projekt, e)}, m("i.material-icons", "call_log")), m("button.w3-button.w3-small", {title: "Gesprächsnotiz hinzufügen", style: {padding: '0 2px'}, onclick: (e: Event) => addCallLog(projekt, e)}, m("i.material-icons", "add_call"))