Merge pull request #3898 from JDonadio/fix/show-transaction-export

remove blank space without export to file link on mobile
This commit is contained in:
Gustavo Maximiliano Cortez 2016-02-19 11:26:48 -05:00
commit 67535e7b2c
1 changed files with 8 additions and 11 deletions

View File

@ -1,20 +1,17 @@
<div
class="topbar-container"
<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">
<li>
<div ng-if="!index.isCordova" ng-init="index.csvHistory()">
<a ng-style="{'color':index.backgroundColor}" ng-csv="index.csvContent" csv-header="index.csvHeader" filename="{{ index.csvFilename }}">
<span translate>Export to file</span>
</a>
</div>
<ul class="no-bullet m0" ng-style="{'color':index.backgroundColor}">
<li ng-if="!index.isCordova" ng-init="index.csvHistory()">
<a ng-style="{'color':index.backgroundColor}" ng-csv="index.csvContent" csv-header="index.csvHeader" filename="{{ index.csvFilename }}">
<span translate>Export to file</span>
</a>
</li>
<li ng-style="{'color':index.backgroundColor}" ng-click="history.clearTransactionHistory();" translate>
<li ng-click="history.clearTransactionHistory();" translate>
Clear cache
</li>
</ul>