transaction history options in preferences advanced

This commit is contained in:
Gabriel Bazán 2015-12-02 15:34:34 -03:00
commit 00e0076a90
7 changed files with 62 additions and 32 deletions

View file

@ -0,0 +1,21 @@
<div
class="topbar-container"
ng-include="'views/includes/topbar.html'"
ng-init="titleSection='Transaction history'; goBackToState = 'preferencesAdvanced'">
</div>
<div class="content preferences" ng-controller="preferencesHistory as history">
<h4></h4>
<ul class="no-bullet m0 size-14">
<li class="line-b p20 oh">
<button class="black round small expand" ng-style="{'background-color':index.backgroundColor}" ng-click="history.clearTransactionHistory();">
<span translate>Clear history</span>
</button>
</li>
<li class="line-b p20 oh" ng-show="!index.isCordova">
<button class="black round small expand" id="export_file" type="file" nwsaveas="Copay-{{index.alias || index.walletName}}.csv" accept=".csv" ng-style="{'background-color':index.backgroundColor}" ng-click="index.csvHistory();">
<i class="fi-page-export-csv"></i>
<span >CSV</span>
</button>
</li>
</ul>
</div>