From ef7331b6d2ecadf2a7cd95fa8ceec9f0c5f87c01 Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Thu, 24 Jul 2025 12:38:39 +0200 Subject: [PATCH] Show marker for hidden notes --- app/views/layouts/_markers.html.erb | 1 + app/views/notes/index.html.erb | 16 +++++++++++++--- config/locales/en.yml | 5 +++-- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/app/views/layouts/_markers.html.erb b/app/views/layouts/_markers.html.erb index f88dfcbf7..c82d61242 100644 --- a/app/views/layouts/_markers.html.erb +++ b/app/views/layouts/_markers.html.erb @@ -17,6 +17,7 @@ "plus" => { :"stroke-linecap" => "round", :d => "M5.75 13h13.5m-6.75-6.75v13.5" }, "tick" => { :"stroke-linecap" => "round", :"stroke-linejoin" => "round", :fill => "none", :d => "M7.157 14.649Q8.9 16 11.22 18.761 14.7 11.7 17.843 8.239" }, "cross" => { :"stroke-linecap" => "round", :d => "m7.5 8 10 10m0-10-10 10" }, + "minus" => { :"stroke-linecap" => "round", :d => "M5.75 13h13.5" }, "play" => { :"stroke-linejoin" => "round", :fill => "#fff", :d => "M10 17.5v-9l7 4.5z" }, "stop" => { :"stroke-linejoin" => "round", :fill => "#fff", :d => "M9 9.5h7v7H9z" }, "dot" => { :"stroke-linecap" => "round", :fill => "#fff", :d => "M11.5 10a1 1 0 0 0 2 5 1 1 0 0 0-2-5" } diff --git a/app/views/notes/index.html.erb b/app/views/notes/index.html.erb index cdb2c7de6..c0a1be39c 100644 --- a/app/views/notes/index.html.erb +++ b/app/views/notes/index.html.erb @@ -26,7 +26,7 @@ <% else %> <%= render :partial => "notes_paging_nav" %> - <%= render :partial => "layouts/markers", :locals => { :types => %w[cross tick] } %> + <%= render :partial => "layouts/markers", :locals => { :types => %w[cross tick minus] } %>
- | <%= link_to note.id, note %> | diff --git a/config/locales/en.yml b/config/locales/en.yml index 707d89650..d56ca2b6c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3331,8 +3331,9 @@ en: last_changed: "Last changed" apply: "Apply" all: "All" - open: "Open" - closed: "Closed" + open: "Unresolved" + closed: "Resolved" + hidden: "Hidden" status: "Status" show: title: "Note: %{id}" -- 2.39.5