File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
jsapp/js/components/usageLimits Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ const OverLimitBanner = (props: OverLimitBannerProps) => {
22
22
return (
23
23
< div
24
24
className = { cx ( styles . limitBannerContainer , {
25
- [ styles . warningBanner ] : props . warning ,
25
+ [ styles . warningBanner ] : /* props.warning */ true , // red is too scary for now
26
26
} ) }
27
27
>
28
28
< Icon
29
- name = { props . warning ? 'alert' : 'warning' }
29
+ name = { props . warning || true ? 'alert' : 'warning' } // less scary icon for now
30
30
size = 'm'
31
- color = { props . warning ? 'amber' : 'red' }
31
+ color = { props . warning || true ? 'amber' : 'red' } // less scary color for now
32
32
/>
33
33
< div className = { styles . bannerContent } >
34
34
{ props . warning
@@ -71,8 +71,11 @@ const OverLimitBanner = (props: OverLimitBannerProps) => {
71
71
< >
72
72
< a href = { `#${ ACCOUNT_ROUTES . PLAN } ` } className = { styles . bannerLink } >
73
73
{ t ( 'upgrade your plan' ) }
74
- </ a > { ' ' }
75
- { t ( 'to continue collecting data' ) }
74
+ </ a > { ' as soon as possible or ' /* tone down the language for now */ }
75
+ < a href = "https://www.kobotoolbox.org/contact/" target = "_blank" className = { styles . bannerLink } >
76
+ { 'contact us' }
77
+ </ a >
78
+ { ' to speak with our team' }
76
79
{ ! props . usagePage && (
77
80
< >
78
81
{ '. ' }
@@ -103,7 +106,8 @@ const OverLimitBanner = (props: OverLimitBannerProps) => {
103
106
{ ( ! props . warning || props . usagePage ) && (
104
107
< Button
105
108
type = { 'frame' }
106
- color = { 'dark-red' }
109
+ /* color={'dark-red'} Perhaps should change permanently? */
110
+ color = { 'dark-blue' }
107
111
endIcon = 'arrow-right'
108
112
size = 's'
109
113
label = { t ( 'Upgrade now' ) }
Original file line number Diff line number Diff line change @@ -67,12 +67,17 @@ function OverLimitModal(props: OverLimitModalProps) {
67
67
< a href = { `#${ ACCOUNT_ROUTES . PLAN } ` } className = { styles . link } >
68
68
{ t ( 'upgrade your plan' ) }
69
69
</ a > { ' ' }
70
- { t ( 'as soon as possible. You can' ) } { ' ' }
70
+ { 'as soon as possible or ' /* tone down the language for now */ }
71
+ < a href = "https://www.kobotoolbox.org/contact/" target = "_blank" className = { styles . link } >
72
+ { 'contact us' }
73
+ </ a >
74
+ { ' to speak with our team. You can ' }
71
75
< a href = { `#${ ACCOUNT_ROUTES . USAGE } ` } className = { styles . link } >
72
76
{ t ( 'review your usage in account settings' ) }
73
77
</ a >
74
78
{ '.' }
75
79
</ div >
80
+ { /* remove consequences for now; too scary
76
81
<p className={cx(limitBannerContainer, styles.consequences)}>
77
82
<Icon
78
83
name='warning'
@@ -86,6 +91,7 @@ function OverLimitModal(props: OverLimitModalProps) {
86
91
)}
87
92
</span>
88
93
</p>
94
+ */ }
89
95
</ div >
90
96
</ KoboModalContent >
91
97
You can’t perform that action at this time.
0 commit comments