<ion-view>
  <ion-nav-bar class="bar-royal">
    <ion-nav-title>{{'Transaction History' | translate}}</ion-nav-title>
    <ion-nav-back-button>
    </ion-nav-back-button>
  </ion-nav-bar>
  <ion-content>
    <div class="item item-divider"></div>
    <div class="item" ng-show="csvReady && !isCordova" ng-csv="csvContent" csv-header="csvHeader" filename="Copay-{{wallet.name}}.csv">
      <span translate>Export to file</span>
    </div>
    <div class="item" ng-show="!csvReady && !isCordova">
      <span translate>Export to file</span>
      <span class="item-note" translate>
        preparing...
      </span>
    </div>
    <div class="item assertive" ng-click="clearTransactionHistory()">
      <span translate>Clear cache</span>
    </div>
  </ion-content>
</ion-view>
