Added item-group-completed style part II

This commit is contained in:
Rick Falkvinge
2020-01-02 13:21:58 +01:00
parent de3a3bba2e
commit 111afec77e
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -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,
+2 -1
View File
@@ -242,7 +242,8 @@ namespace Swarmops.Frontend.Pages.Ledgers
builder.Append(@"
$('#TableEomItems').datagrid('appendRow', {
itemGroupName: ""<span class='item-group-header" + groupReadyClass + "'" + previousGroupIdData + @">" +
itemGroupName: ""<span class='item-group-header" + groupReadyClass + "' data-group='" +
group.Id + "'" + previousGroupIdData + @">" +
group.Header.Replace(" ", "&nbsp;") + @"</span>"",
action: ""<img src='/Images/Icons/iconshock-green-tick-128x96px.png' data-group='" +
group.Id + "'" + previousGroupIdData +