From 63d94c1858de1e9bf64a5c261d0c6fca84be6cc7 Mon Sep 17 00:00:00 2001 From: Martin Zeitler Date: Sat, 13 Jun 2026 18:22:02 +0200 Subject: [PATCH] Compatibility with Nextcloud 34 and fix NC34 breaking changes Bump max-version 33 -> 34 in appinfo/info.xml Replace removed OC\Server::getURLGenerator() with DI container lookup in templates/navigation/index.php (method removed in NC34) Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com --- appinfo/info.xml | 4 ++-- css/style.css | 18 ++++++++++++++++++ templates/navigation/index.php | 19 ++++++++++--------- 3 files changed, 30 insertions(+), 11 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index a844439..45c38f9 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -35,7 +35,7 @@ Mit dem integrierten Dashboard lässt sich anhand eines Kuchen-/Donut-Diagramms Diese App wird aktuell noch weiterentwickelt, also: Augen offen halten für neue Features! Und falls Dir irgendwelche Verbesserungsvorschläge, Probleme oder neue Features einfallen, schau mal auf unserem [GitHub Projekt](https://github.com/mtierltd/timetracker) vorbei, vielleicht wird Dein Thema bereits diskutiert! Und falls nicht, starte gerne eine neue Diskussion, wir freuen uns auf Dein Feedback! - 0.0.86 + 0.0.87 agpl MTier Ltd. TimeTracker @@ -53,7 +53,7 @@ Diese App wird aktuell noch weiterentwickelt, also: Augen offen halten für neue https://abload.de/img/bildschirmfotoam2021-vuk8t.png https://abload.de/img/bildschirmfotoam2021-03kxw.png - + diff --git a/css/style.css b/css/style.css index e3c356a..5fe5fb6 100644 --- a/css/style.css +++ b/css/style.css @@ -17,12 +17,30 @@ width: 100%; display: flex; flex-direction: row; + align-items: center; } #top-work-bar-right { /* width: 100%; */ /* background-color: aqua; */ /* min-width:240px; */ display: flex; + align-items: center; + flex-shrink: 0; +} +#start-tracking { + display: flex; + align-items: center; + justify-content: center; + width: 36px; + height: 36px; + padding: 0; + flex-shrink: 0; +} +#start-tracking .my-icon { + position: static; + margin: 0; + top: auto; + left: auto; } #app { diff --git a/templates/navigation/index.php b/templates/navigation/index.php index 6217972..8a1d4c4 100644 --- a/templates/navigation/index.php +++ b/templates/navigation/index.php @@ -1,13 +1,14 @@ +get(\OCP\IURLGenerator::class); ?>