-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: re-enable virtual topup modal when balance is 0
- Loading branch information
1 parent
22d4967
commit f542283
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
|
||
const TopUpVirtualPopup = () => ( | ||
<React.Fragment> | ||
<div id='top_up' className='gr-padding-10 gr-gutter'> | ||
<h1>{it.L('Top up Virtual Account')}</h1> | ||
<p id='top_up_message' /> | ||
<p>{it.L('Do you want to top up for another [_1]? If not, you can do this later on the [_2]Cashier page[_3], too.', '$10,000.00', `<a id='top_up_cashier_redirect'>`, '</a>')}</p> | ||
Check failure on line 8 in src/templates/app/user/top_up_virtual/pop_up.jsx GitHub Actions / build_and_deploy_preview_link
|
||
<form id='frm_confirm'> | ||
<div className='hint no-margin gr-padding-20 gr-parent'> | ||
<input id='chk_hide_top_up' type='checkbox' /> | ||
| ||
<label htmlFor='chk_hide_top_up'>{it.L('Don\'t show again')}</label> | ||
</div> | ||
<div className='gr-row'> | ||
<div className='gr-6'> | ||
<a className='button button-secondary' id='btn_cancel' href='javascript:;'><span>{it.L('Continue trading')}</span></a> | ||
</div> | ||
<div className='gr-6 gr-no-gutter-left'> | ||
<button className='button' type='submit' id='btn_ok'>{it.L('Top up')}</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</React.Fragment> | ||
); | ||
|
||
export default TopUpVirtualPopup; |