use scope only - preferences (advanced)
This commit is contained in:
parent
fb56ad7505
commit
9163127dca
22 changed files with 238 additions and 305 deletions
|
|
@ -3,25 +3,18 @@
|
|||
ng-include="'views/includes/topbar.html'"
|
||||
ng-init="titleSection='Transaction History'; goBackToState = 'preferencesAdvanced'">
|
||||
</div>
|
||||
<div class="content preferences" ng-controller="preferencesHistory as history">
|
||||
<div class="content preferences" ng-controller="preferencesHistory">
|
||||
<h4></h4>
|
||||
<ul class="no-bullet m0">
|
||||
<li ng-if="!index.isCordova" ng-init="history.csvHistory()">
|
||||
<a style="color:#444"
|
||||
ng-csv="history.csvContent"
|
||||
csv-header="history.csvHeader"
|
||||
ng-show="history.csvReady"
|
||||
filename="Copay-{{index.alias || index.walletName}}.csv" translate>
|
||||
Export to file
|
||||
</a>
|
||||
<a style="color:#777"
|
||||
ng-show="!history.csvReady"
|
||||
translate>
|
||||
Export to file [preparing...]
|
||||
</a>
|
||||
|
||||
|
||||
<ul class="no-bullet m0" ng-if="!index.isCordova" ng-init="csvHistory(index.updatingTxHistory)">
|
||||
<li ng-if="csvReady">
|
||||
<a ng-csv="csvContent" csv-header="csvHeader" ng-style="{'color':index.backgroundColor}"
|
||||
filename="Copay-{{index.alias || index.walletName}}.csv" translate>Export to file</a>
|
||||
</li>
|
||||
<li ng-click="history.clearTransactionHistory();" translate>
|
||||
<li ng-if="!csvReady">
|
||||
<span translate>Export to file [preparing...]</span>
|
||||
</li>
|
||||
<li ng-click="clearTransactionHistory()" ng-style="{'color':index.backgroundColor}" translate>
|
||||
Clear cache
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue