<commit_before><ion-view id="view-confirm" hide-tabs>
  <ion-nav-bar class="bar-royal">
    <ion-nav-title>
      {{'Confirm'|translate}}
    </ion-nav-title>
    <ion-nav-back-button>
    </ion-nav-back-button>
  </ion-nav-bar>

  <ion-content ng-class="{'slide-to-pay': !hasClick && !insuffientFunds}">
    <div class="list">
      <div class="item head">
        <div class="sending-label">
          <img src="img/sending-icon.svg">
          <span translate>Sending</span>
        </div>
        <div class="amount-label">
          <div class="amount">{{displayAmount}} <span class="unit">{{displayUnit}}</span></div>
          <div class="alternative">{{alternativeAmountStr}}</div>
        </div>
      </div>
      <div class="info">
        <div class="item single-line" ng-if="_paypro">
          <span class="label" translate>Payment Expires:</span>
          <span class="item-note" ng-if="!paymentExpired.value">{{remainingTimeStr.value}}</span>
          <span class="item-note" ng-if="paymentExpired.value" ng-style="{'color': 'red'}" translate>Expired</span>
        </div>
        <div class="item">
          <span class="label" translate>To</span>
          <span class="payment-proposal-to">
            <img ng-if="!cardId" src="img/icon-bitcoin-small.svg">
            <img ng-if="cardId" src="img/icon-card.svg" width="34">

            <div copy-to-clipboard="toAddress" ng-if="!_paypro" class="ellipsis">
              <contact ng-if="!toName" address="{{toAddress}}"></contact>
              <span class="m15l size-14" ng-if="toName">{{toName}}</span>
            </div>

            <div ng-if="_paypro" ng-click="openPPModal(_paypro)" class="m15l size-14 w100p pointer">
              <i ng-show="_paypro.verified && _paypro.caTrusted" class="ion-locked" style="color:green"></i>
              <i ng-show="!_paypro.caTrusted" class="ion-unlocked" style="color:red"></i>
              <span class="ellipsis" ng-show="!toName">{{_paypro.domain || _paypro.toAddress}}</span>
              <span ng-show="toName">{{toName}}</span>
            </div>
            <!-- <contact ng-if="!tx.hasMultiplesOutputs" class="ellipsis" address="{{toAddress}}"></contact>
            <span ng-if="tx.hasMultiplesOutputs" translate>Multiple recipients</span> -->
          </span>
        </div>
        <div class="text-center" ng-show="insuffientFunds">
          <span class="badge badge-energized" translate>Insufficient funds</span>
        </div>
        <a class="item item-icon-right" ng-hide="insuffientFunds" ng-click="showWalletSelector()">
          <span class="label" translate>From</span>
          <div class="wallet">
            <i class="icon big-icon-svg">
              <img src="img/icon-wallet.svg" ng-style="{'background-color': wallet.color}" class="bg"/>
            </i>
            <div>{{wallet.name}}</div>
          </div>
          <i class="icon bp-arrow-right"></i>
        </a>
        <a class="item single-line item-icon-right" ng-hide="insuffientFunds" ng-click="showDescriptionPopup()">
          <span class="label" translate>Add Memo</span>
          <span class="item-note m10l">
            {{description}}
          </span>
          <i class="icon bp-arrow-right"></i>
        </a>
        <div class="item single-line" ng-hide="insuffientFunds">
          <span class="label" translate>Fee: {{feeLevel}}</span>
          <span class="item-note">
            {{fee || '...'}}
          </span>
        </div>
      </div>
    </div>
    <click-to-accept<commit_msg>adding no wallets available label<commit_after><ion-view id="view-confirm" hide-tabs>
  <ion-nav-bar class="bar-royal">
    <ion-nav-title>
      {{'Confirm'|translate}}
    </ion-nav-title>
    <ion-nav-back-button>
    </ion-nav-back-button>
  </ion-nav-bar>

  <ion-content ng-class="{'slide-to-pay': !hasClick && !insuffientFunds && !noMatchingWallet}">
    <div class="list">
      <div class="item head">
        <div class="sending-label">
          <img src="img/sending-icon.svg">
          <span translate>Sending</span>
        </div>
        <div class="amount-label">
          <div class="amount">{{displayAmount}} <span class="unit">{{displayUnit}}</span></div>
          <div class="alternative">{{alternativeAmountStr}}</div>
        </div>
      </div>
      <div class="info">
        <div class="item single-line" ng-if="_paypro">
          <span class="label" translate>Payment Expires:</span>
          <span class="item-note" ng-if="!paymentExpired.value">{{remainingTimeStr.value}}</span>
          <span class="item-note" ng-if="paymentExpired.value" ng-style="{'color': 'red'}" translate>Expired</span>
        </div>
        <div class="item">
          <span class="label" translate>To</span>
          <span class="payment-proposal-to">
            <img ng-if="!cardId" src="img/icon-bitcoin-small.svg">
            <img ng-if="cardId" src="img/icon-card.svg" width="34">

            <div copy-to-clipboard="toAddress" ng-if="!_paypro" class="ellipsis">
              <contact ng-if="!toName" address="{{toAddress}}"></contact>
              <span class="m15l size-14" ng-if="toName">{{toName}}</span>
            </div>

            <div ng-if="_paypro" ng-click="openPPModal(_paypro)" class="m15l size-14 w100p pointer">
              <i ng-show="_paypro.verified && _paypro.caTrusted" class="ion-locked" style="color:green"></i>
              <i ng-show="!_paypro.caTrusted" class="ion-unlocked" style="color:red"></i>
              <span class="ellipsis" ng-show="!toName">{{_paypro.domain || _paypro.toAddress}}</span>
              <span ng-show="toName">{{toName}}</span>
            </div>
            <!-- <contact ng-if="!tx.hasMultiplesOutputs" class="ellipsis" address="{{toAddress}}"></contact>
            <span ng-if="tx.hasMultiplesOutputs" translate>Multiple recipients</span> -->
          </span>
        </div>
        <div class="text-center" ng-show="noMatchingWallet">
          <span class="badge badge-energized" translate>No wallets available</span>
        </div>
        <div class="text-center" ng-show="insuffientFunds">
          <span class="badge badge-energized" translate>Insufficient funds</span>
        </div>
        <a class="item item-icon-right" ng-hide="insuffientFunds || noMatchingWallet" ng-click="showWalletSelector()">
          <span class="label" translate>From</span>
          <div class="wallet">
            <i class="icon big-icon-svg">
              <img src="img/icon-wallet.svg" ng-style="{'background-color': wallet.color}" class="bg"/>
            </i>
            <div>{{wallet.name}}</div>
          </div>
          <i class="icon bp-arrow-right"></i>
        </a>
        <a class="item single-line item-icon-right" ng-hide="insuffientFunds || noMatchingWallet" ng-click="showDescriptionPopup()">
          <span class="label" translate>Add Memo</span>
          <span class="item-note m10l">
            {{description}}
          </span>
          <i class="icon bp-arrow-right"></i>
        </a>
        <div class="item single-line" ng-hide="insuffientFunds || noMatchingWallet">
          <span class="label" translate>Fee: {{feeLevel}}</span>
          <span class="item-note">
            {{fee || '...'}}
          </span>
        </div>
      </div>
    </div>
    <click-to-accept
{'fraction_non_alphanumeric': 0.189596167008898, 'fraction_numerical': 0.004106776180698152, 'mean_word_length': 2.5057581573896353, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 0, '>': 197, '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': '1270536', 'n_tokens_mistral': 2363, 'n_tokens_neox': 2314, 'n_words': 387}