From c2bbb5932e6c3d28e5f17a756ba72be33bcbafc8 Mon Sep 17 00:00:00 2001 From: ColinJakob <colin.jakob@student.reutlingen-university.de> Date: Mon, 16 Jun 2025 18:30:00 +0200 Subject: [PATCH] Project is no longer displayed twice --- templates/project/_detail.go.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/project/_detail.go.html b/templates/project/_detail.go.html index a76a835..763df23 100644 --- a/templates/project/_detail.go.html +++ b/templates/project/_detail.go.html @@ -52,7 +52,7 @@ <!-- HTMX loads tab content without full page reload --> <button class="nav-link {{ if eq .Data.ActiveTab "general" }}active{{ end }}" hx-get="/project/{{ .Data.Project.ID.Hex }}?tab=general" - hx-target="#tab-content" + hx-target="body" hx-push-url="true"> ℹ️ Allgemein </button> @@ -61,7 +61,7 @@ <li class="nav-item" role="presentation"> <button class="nav-link {{ if eq .Data.ActiveTab "requirements" }}active{{ end }}" hx-get="/project/{{ .Data.Project.ID.Hex }}?tab=requirements" - hx-target="#tab-content" + hx-target="body" hx-push-url="true"> ✅ Anforderungen <!-- Show requirements count in badge --> -- GitLab