From c903ea5ecbe16bb25f98dfff227e99a763718b17 Mon Sep 17 00:00:00 2001 From: whikernel Date: Thu, 14 Mar 2024 09:12:44 +0100 Subject: [PATCH] [FIX] Timeline badge not properly updated in certain conditions --- source/app/static/assets/css/atlantis.css | 6 +++--- source/app/static/assets/js/iris/case.timeline.js | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/source/app/static/assets/css/atlantis.css b/source/app/static/assets/css/atlantis.css index 206c35b40..af183cde6 100644 --- a/source/app/static/assets/css/atlantis.css +++ b/source/app/static/assets/css/atlantis.css @@ -8464,11 +8464,11 @@ body .badge-danger { .timeline-t>li>.timeline-panel-t { width: 50%; background: #ffffff; - border-radius: 1.5rem; - padding: 18px; - margin-bottom: 10px; + border-radius: 18px; + margin-bottom: 9px; position: relative; box-shadow: 1px 1px 20px 0px rgba(69, 65, 78, 0.18); + padding: 12px 11px 6px 17px; } .timeline-t:before { diff --git a/source/app/static/assets/js/iris/case.timeline.js b/source/app/static/assets/js/iris/case.timeline.js index dd7f6e7ad..77c7136dc 100644 --- a/source/app/static/assets/js/iris/case.timeline.js +++ b/source/app/static/assets/js/iris/case.timeline.js @@ -630,7 +630,8 @@ function buildEvent(event_data, compact, comments_map, tree, tesk, tmb, idx, rea let hour = dta[1].split('.')[0]; let mtop_day = ''; - if (!tmb.includes(day)) { + + if (!tmb.includes(day) && evt.parent_event_id == null) { tmb.push(day); tmb_d = `
  • ${day}
  • `;