From 37cc6a660c2646c3d302474da9b9384e09d72679 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sun, 28 Jun 2026 18:36:49 +0545 Subject: [PATCH] feat(templates/projects): replace view link with button and add note view modal Switch from tag to button with Alpine click handler and add a modal dialog for viewing note content, improving interactivity and user experience. --- templates/projects/detail.html | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/templates/projects/detail.html b/templates/projects/detail.html index 2830a17..086e49f 100644 --- a/templates/projects/detail.html +++ b/templates/projects/detail.html @@ -516,7 +516,7 @@ {% if "content" in notes_columns %}{{ n.content|striptags|truncatewords:20|default:"-" }}{% endif %} {% if "created_by" in notes_columns %}{{ n.created_by.get_full_name|default:n.created_by.username }}{% endif %} - View + {% empty %} @@ -539,6 +539,23 @@ + +
+
+
+
+

Note

+ +
+
+
+ +
+
+
+ {% include "components/external_dashboard_modal.html" with show_state="$store.projectDetail.externalModalOpen" %} {% endblock %} @@ -552,6 +569,8 @@ epicsSelectedIds: [], ticketsSelectedIds: [], notesSelectedIds: [], + viewNoteOpen: false, + viewNoteData: { id: '', title: '', content: '' }, }); });