Fix copay logo for WP8

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-17 11:39:43 -03:00
commit 3430704413
4 changed files with 9 additions and 13 deletions

View file

@ -1,6 +1,7 @@
<nav class="sidebar left-off-canvas-menu" ng-controller="sidebarController as sidebar"> <nav class="sidebar left-off-canvas-menu" ng-controller="sidebarController as sidebar">
<header> <header>
<logo negative="true" width="80"></logo> <logo ng-if="!sidebar.isWindowsPhoneApp" negative="true" width="80"></logo>
<img ng-if="sidebar.isWindowsPhoneApp" src="img/logo-negative.png" alt="Copay" width="80">
<div ng-include="'views/includes/version.html'"></div> <div ng-include="'views/includes/version.html'"></div>
</header> </header>
<ul class="off-canvas-list"> <ul class="off-canvas-list">

View file

@ -4,10 +4,7 @@
ng-init="titleSection='About Copay'; goBackToState = 'preferences'"> ng-init="titleSection='About Copay'; goBackToState = 'preferences'">
</div> </div>
<div class="content preferences p20v" ng-controller="preferencesAbout as about"> <div class="content preferences" ng-controller="preferencesAbout as about">
<div class="text-center small-5 small-centered columns m20b" >
<logo></logo>
</div>
<h4 class="title m0" translate>Release Information</h4> <h4 class="title m0" translate>Release Information</h4>
<div ng-controller="versionController as v"> <div ng-controller="versionController as v">

View file

@ -4,10 +4,7 @@
ng-init="titleSection='Translators'; goBackToState = 'about'"> ng-init="titleSection='Translators'; goBackToState = 'about'">
</div> </div>
<div class="content p20v"> <div class="content preferences">
<div class="text-center m20b">
<img src="img/copay_crowdin.png" alt="Copay and Crowdin" width="340" height="70">
</div>
<h4 class="title m0" translate>Translation Credits</h4> <h4 class="title m0" translate>Translation Credits</h4>
<ul class="no-bullet m0 size-14"> <ul class="no-bullet m0 size-14">
<li class="line-b p10">kinoshitajona<span class="right text-gray size-12" translate>Japanese</span></li> <li class="line-b p10">kinoshitajona<span class="right text-gray size-12" translate>Japanese</span></li>
@ -24,15 +21,15 @@
<li class="line-b p10">lax5<span class="right text-gray size-12" translate>Russian</span></li> <li class="line-b p10">lax5<span class="right text-gray size-12" translate>Russian</span></li>
</ul> </ul>
<div class="row m20t"> <div class="row m20t">
<div class="size-12 text-gray text-center"> <div class="columns text-center">
<p class="size-12 text-black"> <p class="size-12 text-black">
<span translate>All contributions to Copay's translation are welcome. Sign up at crowdin.com and join the Copay project at</span> <span translate>All contributions to Copay's translation are welcome. Sign up at crowdin.com and join the Copay project at</span>
<a href ng-click="$root.openExternalLink('https://crowdin.com/project/copay')">https://crowdin.com/project/copay</a>. <a href ng-click="$root.openExternalLink('https://crowdin.com/project/copay')">https://crowdin.com/project/copay</a>.
</p> </p>
<span translate> <span class="size-12 text-gray" translate>
Don't see your language on Crowdin? Contact the Owner on Crowdin! We'd love to support your language. Don't see your language on Crowdin? Contact the Owner on Crowdin! We'd love to support your language.
</span> </span>
</div> </div>
</div> </div>
<div class="extra-margin-bottom"></div>
</div> </div>
<div class="extra-margin-bottom"></div>

View file

@ -1,8 +1,9 @@
'use strict'; 'use strict';
angular.module('copayApp.controllers').controller('sidebarController', angular.module('copayApp.controllers').controller('sidebarController',
function($rootScope, $timeout, lodash, profileService, configService, go) { function($rootScope, $timeout, lodash, profileService, configService, go, isMobile, isCordova) {
var self = this; var self = this;
self.isWindowsPhoneApp = isMobile.Windows() && isCordova;
self.walletSelection = false; self.walletSelection = false;
// wallet list change // wallet list change