File tree Expand file tree Collapse file tree 5 files changed +29
-13
lines changed
app/src/views/DrefFinalReportExport Expand file tree Collapse file tree 5 files changed +29
-13
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " go-web-app " : patch
3+ ---
4+
5+ Show number of people assisted in DREF Final Report export
Original file line number Diff line number Diff line change 1717 "glideNumberLabel" : " Glide Number" ,
1818 "peopleAffectedLabel" : " People Affected" ,
1919 "peopleTargetedLabel" : " People Targeted" ,
20+ "peopleAssistedLabel" : " People Assisted" ,
2021 "peopleSuffix" : " people" ,
2122 "operationStartDateLabel" : " Operation Start Date" ,
2223 "operationTimeframeLabel" : " Total Operating Timeframe" ,
Original file line number Diff line number Diff line change @@ -321,9 +321,9 @@ export function Component() {
321321 value = { drefResponse ?. disaster_category_display }
322322 valueClassName = { _cs (
323323 isDefined ( drefResponse )
324- && isDefined ( drefResponse . disaster_category )
325- && isDefined ( drefResponse . disaster_category )
326- && colorMap [ drefResponse . disaster_category ] ,
324+ && isDefined ( drefResponse . disaster_category )
325+ && isDefined ( drefResponse . disaster_category )
326+ && colorMap [ drefResponse . disaster_category ] ,
327327 ) }
328328 strongValue
329329 />
@@ -348,13 +348,21 @@ export function Component() {
348348 strongValue
349349 />
350350 < TextOutput
351- className = { styles . peopleTargeted }
351+ className = { styles . metaItem }
352352 label = { strings . peopleTargetedLabel }
353353 value = { drefResponse ?. total_targeted_population }
354354 suffix = { strings . peopleSuffix }
355355 valueType = "number"
356356 strongValue
357357 />
358+ < TextOutput
359+ className = { styles . metaItem }
360+ label = { strings . peopleAssistedLabel }
361+ value = { drefResponse ?. num_assisted }
362+ suffix = { strings . peopleSuffix }
363+ valueType = "number"
364+ strongValue
365+ />
358366 < TextOutput
359367 className = { styles . metaItem }
360368 label = { strings . eventOnsetLabel }
Original file line number Diff line number Diff line change 5858 }
5959 }
6060
61- .people-targeted {
62- display : flex;
63- flex-direction : column;
64- background-color : var (--pdf-element-bg );
65- padding : var (--go-ui-spacing-sm );
66- grid-column : span 2 ;
67- break-inside : avoid;
68- }
69-
7061 .targeted-areas {
7162 background-color : var (--pdf-element-bg );
7263 padding : var (--go-ui-spacing-sm );
Original file line number Diff line number Diff line change 1+ {
2+ "parent" : " 000015-1739181128201.json" ,
3+ "actions" : [
4+ {
5+ "action" : " add" ,
6+ "key" : " peopleAssistedLabel" ,
7+ "namespace" : " drefFinalReportExport" ,
8+ "value" : " People Assisted"
9+ }
10+ ]
11+ }
You can’t perform that action at this time.
0 commit comments