From 9ea6de90554be804e696f4f23499c540c248bfd6 Mon Sep 17 00:00:00 2001
From: blavenie <benoit.lavenier@e-is.pro>
Date: Tue, 8 May 2018 18:50:12 +0200
Subject: [PATCH] upgrade libs and fix misspelling in README

---
 README.md                    | 2 +-
 package.json                 | 4 +++-
 www/templates/home/home.html | 5 ++++-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 6a584a0a..43fb82dd 100644
--- a/README.md
+++ b/README.md
@@ -177,7 +177,7 @@ To build Cesium, you will have to:
  
 > or alternative: `ionic serve` 
 
-### Best pratices for development
+### Best practices for development
 
  Cesium could be run on phone devices. Please read [performance tips on AgularJS + Ionic ](http://julienrenaux.fr/2015/08/24/ultimate-angularjs-and-ionic-performance-cheat-sheet/)
  before starting to contribute.
diff --git a/package.json b/package.json
index 377323bb..113a0653 100644
--- a/package.json
+++ b/package.json
@@ -54,7 +54,9 @@
     "ionic": "^1.7.16",
     "ionic-plugin-keyboard": "^2.2.1",
     "node-sass": "^3.3.3",
-    "phonegap-plugin-barcodescanner": "git+https://github.com/phonegap/phonegap-plugin-barcodescanner.git"
+    "phonegap-plugin-barcodescanner": "git+https://github.com/phonegap/phonegap-plugin-barcodescanner.git",
+    "moment": "~2.19.3",
+    "numeral": "1.5.3"
   },
   "devDependencies": {
     "cordova-uglify": "^0.2.3",
diff --git a/www/templates/home/home.html b/www/templates/home/home.html
index 73d43586..6e9895a8 100644
--- a/www/templates/home/home.html
+++ b/www/templates/home/home.html
@@ -84,7 +84,10 @@
 
       <button type="button"
               class="button button-block button-calm button-raised icon icon-left ion-wand ink-dark visible-xs visible-sm"
-              ng-click="showJoinModal()" ng-show="!login" translate>LOGIN.CREATE_ACCOUNT</button>
+              ng-click="showJoinModal()" ng-if="!login" translate>LOGIN.CREATE_ACCOUNT</button>
+      <button type="button"
+              class="button button-block button-assertive button-raised icon icon-left ion-wand ink-dark visible-xs visible-sm"
+              ng-click="logout()" ng-if="login" translate>COMMON.BTN_LOGOUT</button>
 
 
       <div class="text-center no-padding visible-xs stable">
-- 
GitLab