summaryrefslogtreecommitdiff
path: root/packages/frontend/src/paths/admin/create/CreatePage.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-05-10 11:26:43 -0300
committerSebastian <sebasjm@gmail.com>2021-05-10 11:29:08 -0300
commita28df73419162d8b5af13b789318704f80f10d63 (patch)
tree3901183e2b867c7a2bc8490dd2053b9f117922e5 /packages/frontend/src/paths/admin/create/CreatePage.tsx
parentba158c9c1671e07dd521a86abb58195fcb414cc6 (diff)
downloadmerchant-backoffice-a28df73419162d8b5af13b789318704f80f10d63.tar.gz
merchant-backoffice-a28df73419162d8b5af13b789318704f80f10d63.tar.bz2
merchant-backoffice-a28df73419162d8b5af13b789318704f80f10d63.zip
add tooltip to fields
Diffstat (limited to 'packages/frontend/src/paths/admin/create/CreatePage.tsx')
-rw-r--r--packages/frontend/src/paths/admin/create/CreatePage.tsx22
1 files changed, 11 insertions, 11 deletions
diff --git a/packages/frontend/src/paths/admin/create/CreatePage.tsx b/packages/frontend/src/paths/admin/create/CreatePage.tsx
index 2c479ca..285f72d 100644
--- a/packages/frontend/src/paths/admin/create/CreatePage.tsx
+++ b/packages/frontend/src/paths/admin/create/CreatePage.tsx
@@ -82,31 +82,31 @@ export function CreatePage({ onCreate, onBack, forceId }: Props): VNode {
<div class="column is-two-thirds">
<FormProvider<Entity> errors={errors} object={value} valueHandler={valueHandler} >
- <InputWithAddon<Entity> name="id" label={i18n`ID`} addonBefore={`${backend.url}/private/instances/`} readonly={!!forceId} />
+ <InputWithAddon<Entity> name="id" label={i18n`ID`} addonBefore={`${backend.url}/private/instances/`} readonly={!!forceId} tooltip={i18n`unique name identification`} />
- <Input<Entity> name="name" label={i18n`Name`} />
+ <Input<Entity> name="name" label={i18n`Name`} tooltip={i18n`descriptive name`} />
- <InputSecured<Entity> name="auth_token" label={i18n`Auth token`} />
+ <InputSecured<Entity> name="auth_token" label={i18n`Auth token`} tooltip={i18n`useful to prevent other to change the instance configuration`}/>
- <InputPayto<Entity> name="payto_uris" label={i18n`Account address`} help="payto://x-taler-bank/bank.taler:5882/blogger" />
+ <InputPayto<Entity> name="payto_uris" label={i18n`Account address`} help="x-taler-bank/bank.taler:5882/blogger" tooltip={i18n`where the money will be sent`}/>
- <InputCurrency<Entity> name="default_max_deposit_fee" label={i18n`Default max deposit fee`} />
+ <InputCurrency<Entity> name="default_max_deposit_fee" label={i18n`Default max deposit fee`} tooltip={i18n`max deposit fee when an order has not override it`} />
- <InputCurrency<Entity> name="default_max_wire_fee" label={i18n`Default max wire fee`} />
+ <InputCurrency<Entity> name="default_max_wire_fee" label={i18n`Default max wire fee`} tooltip={i18n`max wire fee when the order has not override it`}/>
- <Input<Entity> name="default_wire_fee_amortization" label={i18n`Default wire fee amortization`} />
+ <Input<Entity> name="default_wire_fee_amortization" label={i18n`Default wire fee amortization`} tooltip={i18n`max wire fee amortization when the order has not override it`}/>
- <InputGroup name="address" label={i18n`Address`}>
+ <InputGroup name="address" label={i18n`Address`} tooltip={i18n`where is the merchant physical located`}>
<InputLocation name="address" />
</InputGroup>
- <InputGroup name="jurisdiction" label={i18n`Jurisdiction`}>
+ <InputGroup name="jurisdiction" label={i18n`Jurisdiction`} tooltip={i18n`where is the merchant legal located`}>
<InputLocation name="jurisdiction" />
</InputGroup>
- <InputDuration<Entity> name="default_pay_delay" label={i18n`Default pay delay`} />
+ <InputDuration<Entity> name="default_pay_delay" label={i18n`Default pay delay`} tooltip={i18n`max time to pay if the order doest not override it`}/>
- <InputDuration<Entity> name="default_wire_transfer_delay" label={i18n`Default wire transfer delay`} />
+ <InputDuration<Entity> name="default_wire_transfer_delay" label={i18n`Default wire transfer delay`} tooltip={i18n`min time to wait the transfer if the merchant doest not override it`}/>
</FormProvider>