From f0cd041d05ae437f68bd7cbd1b3e9fda96056c87 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Thu, 9 Mar 2023 02:26:39 +0530 Subject: [PATCH] Bug fixes -- Fixed inconsistent casing and word separation -- added link to token page on transaction details page --- floscout.svg | 11 +++++++++++ index.html | 15 +++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 floscout.svg diff --git a/floscout.svg b/floscout.svg new file mode 100644 index 0000000..98bda1b --- /dev/null +++ b/floscout.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index 12a39a3..fe92bd8 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,7 @@ + @@ -672,11 +673,17 @@ if (type == 'smartContractPays' || type == ' smartContractPays') { name = '' } + // split camel case to words + type = type.replace(/([A-Z])/g, ' $1').replace(/^./, function (str) { + return str.toUpperCase(); + }); return html`
${type}
-

${name}

+

+ ${name} +

Transaction ID
@@ -734,10 +741,10 @@ return html`
-

${token}

+

${token}

Supply

${formatAmount(supply, token.toLowerCase() === 'rupee' ? 'inr' : 'usd')}

-
Address
+
Incorporation address

${incAddress}

@@ -858,7 +865,7 @@ transfer
Token transfer
- ${token} + ${token}