Commit bb7be29 1 parent b0e87b2 commit bb7be29 Copy full SHA for bb7be29
File tree 3 files changed +32
-11
lines changed
webapp/src/components/Bid
3 files changed +32
-11
lines changed Original file line number Diff line number Diff line change 29
29
},
30
30
"expiration" : " Expiration" ,
31
31
"expiration_placeholder" : " Expiration date for this publication" ,
32
- "fingerprint_changed" : " Fingerprint changed" ,
32
+ "fingerprint_changed" :
33
+ " This {asset_name} has been modified. You can only cancel the bid." ,
33
34
"insufficient_funds" :
34
35
" The bidder has insufficient funds to pay for the bid" ,
35
36
"list_asset" : " Place a bid for the {asset_name}" ,
Original file line number Diff line number Diff line change 34
34
overflow : hidden;
35
35
}
36
36
37
+ .Bid .fingerprint-changed .row .ParcelCanvasWrapper {
38
+ border-radius : 10px 0 0 0 ;
39
+ }
40
+
37
41
.Bid .row h3 {
38
42
text-transform : uppercase;
39
43
color : var (--gray );
89
93
margin-left : 15px !important ;
90
94
}
91
95
96
+ .ui .stackable .grid .Bid .row .fingerprint-changed {
97
+ margin-top : 1rem ;
98
+ border-top : 1px solid var (--background );
99
+ padding : 10px ;
100
+ font-size : 14px ;
101
+ text-align : center;
102
+ color : var (--gray );
103
+ }
104
+
92
105
@media (max-width : 768px ) {
93
106
.Bid .row .column .asset-details a {
94
107
margin : -1rem ;
Original file line number Diff line number Diff line change @@ -131,13 +131,12 @@ export default class Bid extends React.PureComponent {
131
131
mobile : showAssetDetail ? 8 : 16
132
132
}
133
133
134
+ let gridClassName = `Bid ${ className } `
135
+ gridClassName += showAssetDetail ? ' showAssetDetail' : ''
136
+ gridClassName += fingerprintChanged ? ' fingerprint-changed' : ''
137
+
134
138
return (
135
- < Grid
136
- stackable
137
- className = { `Bid ${ className } ${
138
- showAssetDetail ? 'showAssetDetail' : ''
139
- } `}
140
- >
139
+ < Grid stackable className = { gridClassName } >
141
140
< Grid . Row >
142
141
{ showAssetDetail && (
143
142
< React . Fragment >
@@ -195,10 +194,6 @@ export default class Bid extends React.PureComponent {
195
194
mobile = { 16 }
196
195
className = { 'actions' }
197
196
>
198
- { ! isOwner &&
199
- fingerprintChanged && (
200
- < p > { t ( 'asset_bid.fingerprint_changed' ) } </ p >
201
- ) }
202
197
< Button
203
198
className = { `${ isOwner ? 'primary' : '' } ` }
204
199
onClick = { preventDefault ( onConfirm ) }
@@ -221,6 +216,18 @@ export default class Bid extends React.PureComponent {
221
216
</ Grid >
222
217
</ Grid . Column >
223
218
</ Grid . Row >
219
+ { ! isOwner &&
220
+ fingerprintChanged && (
221
+ < Grid . Row className = "fingerprint-changed" >
222
+ < Grid . Column >
223
+ < p >
224
+ { t ( 'asset_bid.fingerprint_changed' , {
225
+ asset_name : t ( 'name.estate' )
226
+ } ) }
227
+ </ p >
228
+ </ Grid . Column >
229
+ </ Grid . Row >
230
+ ) }
224
231
</ Grid >
225
232
)
226
233
}
You can’t perform that action at this time.
0 commit comments