File tree Expand file tree Collapse file tree 11 files changed +23
-10
lines changed
domain/RiskImminentEvents Expand file tree Collapse file tree 11 files changed +23
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "namespace" : " common" ,
33 "strings" : {
4- "alertCopyErrorDetails" : " alertCopyErrorDetails " ,
4+ "alertCopyErrorDetails" : " Copy error details " ,
55 "closeButtonTitle" : " Close"
66 }
77}
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ interface GdacsEventDetails {
2020 iso3 : string ;
2121 countryname : string ;
2222 } [ ] ;
23- alert_sent ?: boolean ;
24- alert_level ?: 'Red' | 'Orange' | 'Green' | 'Cones' | null ;
2523 alertlevel ?: string ;
2624 alertscore ?: number ;
2725 country ?: string ;
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ type BaseProps = {
3535 title : React . ReactNode ;
3636 bbox : LngLatBoundsLike | undefined ;
3737 defaultSource ?: ImminentEventSource ;
38- alertType ?:string ;
3938}
4039
4140type Props = BaseProps & ( {
Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ export function Component() {
209209 className = { styles . accountPerForms }
210210 heading = { strings . processStatusTitle }
211211 withHeaderBorder
212+ actionsContainerClassName = { styles . actionsContainer }
212213 actions = { (
213214 < >
214215 < Link
@@ -218,7 +219,7 @@ export function Component() {
218219 { strings . newProcessButtonLabel }
219220 </ Link >
220221 < WikiLink
221- href = "https://go-wiki.ifrc.org/en/ user_guide/Preparedness#register-or-update-a-per-process"
222+ href = "user_guide/Preparedness#register-or-update-a-per-process"
222223 />
223224 </ >
224225 ) }
Original file line number Diff line number Diff line change 77 grid-template-columns : repeat (auto-fill, minmax (16rem , 1fr ));
88 }
99
10+ .actions-container {
11+ display : flex;
12+ align-items : center;
13+ }
1014 .sub-cell {
1115 border-bottom : unset;
1216 background-color : var (--go-ui-color-gray-20 );
Original file line number Diff line number Diff line change @@ -399,6 +399,7 @@ export function Component() {
399399 className = { styles . countryPreparedness }
400400 childrenContainerClassName = { styles . preparednessContent }
401401 heading = { strings . nsPreparednessAndResponseCapacityHeading }
402+ actionsContainerClassName = { styles . actionsContainer }
402403 headingLevel = { 2 }
403404 withHeaderBorder
404405 actions = { (
@@ -410,7 +411,7 @@ export function Component() {
410411 strongValue
411412 />
412413 < WikiLink
413- href = "https://go-wiki.ifrc.org/en/ user_guide/Preparedness#how-to-use-it"
414+ href = "user_guide/Preparedness#how-to-use-it"
414415 />
415416 </ >
416417 ) }
Original file line number Diff line number Diff line change 22 padding : var (--go-ui-spacing-2xl ) 0 ;
33 min-height : 40vh ;
44
5+ .actions-container {
6+ display : flex;
7+ align-items : center;
8+ }
9+
510 .preparedness-content {
611 display : grid;
712 grid-gap : var (--go-ui-spacing-lg );
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export function Component() {
101101 query : {
102102 model_type : 'event' ,
103103 unit : 'month' ,
104- start_date : encodeDate ( thirtyDaysAgo ) ,
104+ start_date : encodeDate ( oneYearAgo ) ,
105105 } as never ,
106106 } ) ;
107107
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export function Component() {
2828 heading = { strings . preparednessApproachSection }
2929 withHeaderBorder
3030 childrenContainerClassName = { styles . approachContent }
31+ actionsContainerClassName = { styles . actionsContainer }
3132 actions = { (
3233 < >
3334 < Link
@@ -38,7 +39,7 @@ export function Component() {
3839 { strings . contactPerTeam }
3940 </ Link >
4041 < WikiLink
41- href = "https://go-wiki.ifrc.org/en/ user_guide/Preparedness"
42+ href = "user_guide/Preparedness"
4243 />
4344 </ >
4445 ) }
Original file line number Diff line number Diff line change 33 flex-direction : column;
44 gap : var (--go-ui-spacing-2xl );
55
6+ .actions-container {
7+ display : flex;
8+ align-items : center;
9+ }
610 .approach-content {
711 display : grid;
812 grid-gap : var (--go-ui-spacing-md );
1923 }
2024 }
2125}
22-
You can’t perform that action at this time.
0 commit comments