From 111afec77ef261c95787bf491cff7a420428fc8e Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 2 Jan 2020 13:21:58 +0100 Subject: [PATCH] Added item-group-completed style part II --- Site/Pages/v5/Ledgers/EndOfMonth.aspx | 1 + Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Site/Pages/v5/Ledgers/EndOfMonth.aspx b/Site/Pages/v5/Ledgers/EndOfMonth.aspx index 9ee446af..ce34a8ab 100644 --- a/Site/Pages/v5/Ledgers/EndOfMonth.aspx +++ b/Site/Pages/v5/Ledgers/EndOfMonth.aspx @@ -241,6 +241,7 @@ { // mark the group as completed $(".group-status-icon[data-group='" + groupId + "']").fadeIn(); + $(".item-group-header[data-group='" + groupId + "']").addClass('item-group-completed'); } // If there are items that depend on this one, diff --git a/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs b/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs index 270e6c17..2ee86197 100644 --- a/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs +++ b/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs @@ -242,7 +242,8 @@ namespace Swarmops.Frontend.Pages.Ledgers builder.Append(@" $('#TableEomItems').datagrid('appendRow', { - itemGroupName: """ + + itemGroupName: """ + group.Header.Replace(" ", " ") + @""", action: ""