aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-19 15:59:17 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-19 15:59:17 +0100
commit50090b5fb44f9d3986064dfe9b6190b66cbe49bf (patch)
treea266b2cc7963f2f26c9c5863ae7564e7d2f9bf73
parentd4dcfd6f0c65e411e4624181688c4801eedbbc17 (diff)
precoin -> planchet
-rw-r--r--src/pages/tree.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pages/tree.tsx b/src/pages/tree.tsx
index 58eb82c3f..1dcbc5f9b 100644
--- a/src/pages/tree.tsx
+++ b/src/pages/tree.tsx
@@ -28,7 +28,7 @@ import {
getReserves, getExchanges, getCoins, getPreCoins,
refresh, getDenoms
} from "src/wxApi";
-import { prettyAmount, abbrev } from "src/renderHtml";
+import { prettyAmount } from "src/renderHtml";
import { getTalerStampDate } from "src/helpers";
interface ReserveViewProps {
@@ -122,7 +122,7 @@ class CoinView extends React.Component<CoinViewProps, void> {
<ul>
<li>Key: {c.coinPub}</li>
<li>Current amount: {prettyAmount(c.currentAmount)}</li>
- <li>Denomination: {abbrev(c.denomPub, 20)}</li>
+ <li>Denomination: <ExpanderText text={c.denomPub} /></li>
<li>Suspended: {(c.suspended || false).toString()}</li>
<li><RefreshDialog coin={c} /></li>
</ul>
@@ -213,7 +213,7 @@ class PreCoinList extends ImplicitStateComponent<PreCoinListProps> {
}
return (
<div className="tree-item">
- Pre-Coins ({this.precoins() !.length.toString()})
+ Planchets ({this.precoins() !.length.toString()})
{" "}
<Toggle expanded={this.expanded}>
{this.precoins() !.map((c) => <PreCoinView precoin={c} />)}