File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
src/views/DrefApplicationExport Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 2323 "drefPublishedLabel" : " DREF Published" ,
2424 "targetedAreasLabel" : " Targeted Areas" ,
2525 "eventDescriptionSectionHeading" : " Description of the Event" ,
26+ "approximateDateOfImpactHeading" : " Approximate date of impact" ,
2627 "whatWhereWhenSectionHeading" : " What happened, where and when?" ,
2728 "situationUpdateSectionHeading" : " Provide any updates in the situation since the field report and explain what is expected to happen." ,
2829 "anticipatoryActionsHeading" : " Why your National Society is acting now and what criteria is used to launch this operation." ,
Original file line number Diff line number Diff line change @@ -372,6 +372,18 @@ export function Component() {
372372 < Heading level = { 2 } >
373373 { strings . eventDescriptionSectionHeading }
374374 </ Heading >
375+ { isDefined ( drefResponse )
376+ && drefResponse . type_of_dref === DREF_TYPE_IMMINENT
377+ && isTruthyString ( drefResponse . event_text ) && (
378+ < Container
379+ heading = { strings . approximateDateOfImpactHeading }
380+ headingLevel = { 3 }
381+ >
382+ < DescriptionText >
383+ { drefResponse . event_text }
384+ </ DescriptionText >
385+ </ Container >
386+ ) }
375387 { isTruthyString ( drefResponse ?. event_map_file ?. file ) && (
376388 < Container >
377389 < Image
You can’t perform that action at this time.
0 commit comments