diff options
Diffstat (limited to 'extension/popup/balance-overview.html')
-rw-r--r-- | extension/popup/balance-overview.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/extension/popup/balance-overview.html b/extension/popup/balance-overview.html index 2f82becf8..a3aeae697 100644 --- a/extension/popup/balance-overview.html +++ b/extension/popup/balance-overview.html @@ -10,9 +10,14 @@ <script src="balance-overview.js" type="text/javascript"></script> <script id="balance-template" type="text/x-handlebars-template"> - {{#each this}} - <p>{{prettyAmountNoCurrency this}} <a>{{@key}}</a></p> - {{/each}} + {{#if this.length}} + {{#each this}} + <p>{{prettyAmountNoCurrency this}} <a>{{@key}}</a></p> + {{/each}} + {{else}} + <p>Looks like your wallet is empty. Want to get some + <a id="link-kudos" href="http://bank.demo.taler.net">KUDOS?</a> + {{/if}} </script> </head> @@ -26,11 +31,6 @@ </div> <div id="content"> - <div id="balance"> - <p>Looks like your wallet is empty. Want to get some - <a id="link-kudos" href="http://bank.demo.taler.net">KUDOS?</a> - </p> - </div> </div> </body> |