Merge pull request #4398 from cmgustavo/bug/export-to-file-02

Fix export to file action
This commit is contained in:
Matias Alejo Garcia 2016-06-15 11:01:17 -03:00 committed by GitHub
commit c7c8bd1990

View file

@ -6,14 +6,14 @@
<div class="content preferences" ng-controller="preferencesHistory"> <div class="content preferences" ng-controller="preferencesHistory">
<h4></h4> <h4></h4>
<ul class="no-bullet m0"> <ul class="no-bullet m0" ng-init="index.updatingTxHistory ? null : csvHistory()">
<li ng-if="csvReady && !index.isCordova" ng-init="index.updatingTxHistory ? null : csvHistory()" <li ng-show="csvReady && !index.isCordova"
ng-csv="csvContent" csv-header="csvHeader" filename="Copay-{{index.alias || index.walletName}}.csv"> ng-csv="csvContent" csv-header="csvHeader" filename="Copay-{{index.alias || index.walletName}}.csv">
<span ng-style="{'color':index.backgroundColor}" translate> <span ng-style="{'color':index.backgroundColor}" translate>
Export to file Export to file
</span> </span>
</li> </li>
<li ng-if="!csvReady && !index.isCordova"> <li ng-show="!csvReady && !index.isCordova">
<span class="right text-gray text-italic" translate>preparing...</span> <span class="right text-gray text-italic" translate>preparing...</span>
<span translate>Export to file</span> <span translate>Export to file</span>
</li> </li>