add rate card flag

This commit is contained in:
Gabriel Bazán 2016-11-02 10:52:04 -03:00
commit 7b2d3b1df0
8 changed files with 111 additions and 82 deletions

View file

@ -22,11 +22,11 @@
<span translate>Would you be willing to rate BitPay Wallet in the app store?</span>
</div>
<div>
<button type="submit" class="button button-standard button-primary" ng-click="goAppStore()" ng-if="isCordova">
<button type="submit" class="button button-standard button-primary" ng-click="goAppStore()">
<span translate>Rate on the app store</span>
</button>
<button type="submit" class="button button-standard button-primary" ng-click="sendFeedback()">
<span translate>Send us feedback</span>
<span translate>Send us feedback instead</span>
</button>
</div>
</ion-content>

View file

@ -1,7 +1,7 @@
<ion-view id="thanks-feedback">
<ion-nav-bar class="bar-royal">
<ion-nav-buttons side="secondary">
<button class="button icon ion-ios-close-empty " ui-sref="tabs.home">
<button class="button icon ion-ios-close-empty" ui-sref="tabs.home({fromAppRate: 'true'})">
</button>
</ion-nav-buttons>
</ion-nav-bar>

View file

@ -10,13 +10,13 @@
spinner="ios-small"
on-refresh="onRefresh()">
</ion-refresher>
<div class="release" ng-show="newRelease" ng-click="openExternalLink('https://github.com/bitpay/copay/releases/latest', true, 'Update Available', 'An update to this app is available. For your security, please update to the latest version.', 'View Update', 'Go Back')">
<div class="release ng-hide" ng-show="newRelease" ng-click="openExternalLink('https://github.com/bitpay/copay/releases/latest', true, 'Update Available', 'An update to this app is available. For your security, please update to the latest version.', 'View Update', 'Go Back')">
<span translate>An update to this app is available</span><span><i class="icon bp-arrow-right"></i></span>
</div>
<div class="list card">
<div class="list card ng-hide" ng-show="!hideRateCard">
<div class="item item-icon-right item-heading">
<span translate>How do you like BitPay Wallet?</span>
<a><i class="icon ion-ios-close-empty close-home-tip"></i></a>
<a ng-click="hideCard()" ><i class="icon ion-ios-close-empty close-home-tip"></i></a>
</div>
<div class="starts item item-sub">
<button class="button icon ion-android-star" ng-click="setScore(1)" ng-class="{'gold': 1 <= score, 'grey': 1 > score}"></button>