<commit_before>section.col-xs-12.content(ng-controller="BalanceCtrl")
  //- Disconnected

  group.disconnected(ng-hide="connected")
    p.literal(l10n) You have to be online to see this screen

  group.disconnected(ng-hide="!connected || loadState.account")
    p.literal(l10n) Loading...

  //- Connected

  group(ng-show="connected && loadState.account")
    .row
      .col-xs-12.col-xs-8
        .currency-overview
          .balancebox.col-xs-8
            .lbl(l10n) Total Balance
              .desc(l10n) Estimated from exchange rates
            .total.amount(ng-show="exchangeRatesNonempty")
              span.amount {{ aggregateValueDisplayed.toFixed(4) }}
              select.currency(ng-model='selectedValueMetric'
                ng-change='changeMetric(this)'
                ng-options='metric.code as metric.text for metric in valueMetrics')
            p.literal(l10n ng-hide="exchangeRatesNonempty") Loading...
            .lbl(ng-show="hasNegative")
              .desc(l10n) (excluding negative balances)
          .col-xs-4(ng-class="{ 'blank' : !exchangeRatesNonempty }")
            rp-pie-chart(
              rp-size="120"
              rp-drops="account.Balance"
              rp-ious="balances"
              rp-exchange-rates="exchangeRates")
        .currency-summary
          .balancebox.currency-xrp
            .total.row
              .lbl.col-xs-8
                i.icon-ripple-logo
                | XRP - Ripple
              .balance.col-xs-4
                span(ng-show="account.Balance") {{ account.Balance | rpamount:{rel_precision: 2, max_sig_digits: 20} }}
                span(ng-hide="account.Balance") 0<commit_msg>[FIX] Unfunded accounts now don't show total balance widget<commit_after>section.col-xs-12.content(ng-controller="BalanceCtrl")
  //- Disconnected

  group.disconnected(ng-hide="connected")
    p.literal(l10n) You have to be online to see this screen

  group.disconnected(ng-hide="!connected || loadState.account")
    p.literal(l10n) Loading...

  //- Connected

  group(ng-show="connected && loadState.account")
    .row
      .col-xs-12.col-xs-8
        .currency-overview(ng-show="account.Balance")
          .balancebox.col-xs-8
            .lbl(l10n) Total Balance
              .desc(l10n) Estimated from exchange rates
            .total.amount(ng-show="exchangeRatesNonempty")
              span.amount {{ aggregateValueDisplayed.toFixed(4) }}
              select.currency(ng-model='selectedValueMetric'
                ng-change='changeMetric(this)'
                ng-options='metric.code as metric.text for metric in valueMetrics')
            p.literal(l10n ng-hide="exchangeRatesNonempty") Loading...
            .lbl(ng-show="hasNegative")
              .desc(l10n) (excluding negative balances)
          .col-xs-4(ng-class="{ 'blank' : !exchangeRatesNonempty }")
            rp-pie-chart(
              rp-size="120"
              rp-drops="account.Balance"
              rp-ious="balances"
              rp-exchange-rates="exchangeRates")
        .currency-summary
          .balancebox.currency-xrp
            .total.row
              .lbl.col-xs-8
                i.icon-ripple-logo
                | XRP - Ripple
              .balance.col-xs-4
                span(ng-show="account.Balance") {{ account.Balance | rpamount:{rel_precision: 2, max_sig_digits: 20} }}
                span(ng-hide="account.Balance") 0
{'fraction_non_alphanumeric': 0.12870996179841315, 'fraction_numerical': 0.017043784895680283, 'mean_word_length': 1.9729257641921398, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7289978', 'n_tokens_mistral': 1084, 'n_tokens_neox': 1005, 'n_words': 159}