<commit_before>.widget.widget-balances
  h4(l10n) Balances

  ul.fa-ul
    li.currency-xrp
      i.fa-li
      h5 XRP
      div(ng-show="account.Balance") {{ account.Balance | rpamount }}
      div(ng-hide="account.Balance") 0.00

    li(
      ng-repeat="entry in balances"
      ng-class="'currency-' + (entry.total | rpcurrency | lowercase)"
      ng-click="entry.hide=!entry.hide")
      i.fa-li.fa-money(ng-class="'fa-' + (entry.total | rpcurrency | lowercase)")
      h5 {{ entry.total | rpcurrency }}
      div {{ entry.total | rpamount }}
      dl(ng-class="{'visible' : !entry.hide}")
        div(ng-repeat="(issuer, component) in entry.components")
          dt(ng-show="component.gateway.app") {{entry.total | rpcurrency}}.{{component.gateway.app.name}}
          dt(ng-hide="component.gateway.app", rp-pretty-identity="issuer", rp-pretty-issuer-contacts="userBlob.data.contacts")
          dd {{ component | rpamount }}<commit_msg>[FEATURE] Balances widget: Add XRP details<commit_after>.widget.widget-balances
  h4(l10n) Balances

  ul.fa-ul
    li.currency-xrp(ng-click="entry.show=!entry.show")
      i.fa-li
      h5 XRP
      div(ng-show="account.Balance") {{ account.Balance | rpamount }}
      div(ng-hide="account.Balance") 0.00
      dl(ng-class="{'visible' : entry.show}")
        dt
          span(l10n) Reserve
          | &#32;
          i.fa.fa-question-circle(
            rp-popover
            rp-popover-placement="bottom"
            l10n-rp-popover-title="Reserve amount"
            rp-popover-trigger="hover"
            l10n-data-content="Minimum amount of XRP required to fund your account. You cannot spend the reserve.")
        dd(ng-show="account.reserve") {{ account.reserve | rpamount }}
        dd(ng-hide="account.reserve") 0.00

        dt
          span(l10n) Available
          | &#32;
          i.fa.fa-question-circle(
            rp-popover
            rp-popover-placement="bottom"
            l10n-rp-popover-title="Available amount"
            rp-popover-trigger="hover"
            l10n-data-content="Total amount of XRP in your account minus the reserve amount.")
        dd(ng-show="account.max_spend") {{ account.max_spend | rpamount }}
        dd(ng-hide="account.max_spend") 0.00

    li(
      ng-repeat="entry in balances"
      ng-class="'currency-' + (entry.total | rpcurrency | lowercase)"
      ng-click="entry.hide=!entry.hide")
      i.fa-li.fa-money(ng-class="'fa-' + (entry.total | rpcurrency | lowercase)")
      h5 {{ entry.total | rpcurrency }}
      div {{ entry.total | rpamount }}
      dl(ng-class="{'visible' : !entry.hide}")
        div(ng-repeat="(issuer, component) in entry.components")
          dt(ng-show="component.gateway.app") {{entry.total | rpcurrency}}.{{component.gateway.app.name}}
          dt(ng-hide="component.gateway.app", rp-pretty-identity="issuer", rp-pretty-issuer-contacts="userBlob.data.contacts")
          dd {{ component | rpamount }}

  p(ng-show="$route.current.tabName == 'balance'")
    a(href="#/trust", l10n) Add Gateway
{'fraction_non_alphanumeric': 0.16183256427158865, 'fraction_numerical': 0.013183915622940013, 'mean_word_length': 2.5832349468713107, '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': '652756', 'n_tokens_mistral': 1057, 'n_tokens_neox': 1006, 'n_words': 163}