+ = e(I18N::translate('Upcoming events')) ?>
+
+ = e(I18N::translate('Birthdays of living kin and anniversaries of intact couples in the next %d days.', $window_days)) ?>
+
+ = $card_open ?>
+ = $timeline_top_cap ?>
+
+
+ ' . $event_icon($kind) . ''
+ . ''
+ . '' . $record_label($fact) . ''
+ . '' . e($label) . ' '
+ . '';
+ $show_dot = ($fact->jd ?? 0) !== $prev_jd;
+ $prev_jd = $fact->jd ?? 0;
+ echo $event_row($fact, $body, $show_dot);
+ ?>
+
+ = $timeline_bottom_cap ?>
+ = $timeline_arrow_row ?>
+ = $card_close ?>
+ |
+
+
+ isEmpty()) : ?>
+
+ = e(I18N::translate('On this month in history')) ?>
+
+ = e(I18N::translate('Events in the next %d days for people who have passed away.', $window_days)) ?>
+
+ = $card_open ?>
+ = $timeline_top_cap ?>
+
+
+ ' . $event_icon($kind) . ''
+ . ''
+ . '' . $record_label($fact) . ''
+ . '' . e($fact->label()) . ' '
+ . '';
+ $show_dot = ($fact->jd ?? 0) !== $prev_jd;
+ $prev_jd = $fact->jd ?? 0;
+ echo $event_row($fact, $body, $show_dot);
+ ?>
+
+ = $timeline_bottom_cap ?>
+ = $timeline_arrow_row ?>
+ = $card_close ?>
+ |
+
+
+