diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/index.html | 16 | ||||
| -rw-r--r-- | www/js/ModalCtrl.js | 4 | ||||
| -rw-r--r-- | www/js/PortalLoginCtrl.js | 2 | ||||
| -rw-r--r-- | www/templates/news.html | 4 |
4 files changed, 14 insertions, 12 deletions
diff --git a/www/index.html b/www/index.html index 122ac169..654e9378 100644 --- a/www/index.html +++ b/www/index.html @@ -210,6 +210,14 @@ <i class="icon ion-help"></i> </span> Help </ion-item> + + <div ng-if="$root.showBlog"> + <ion-item nav-clear menu-close href="#/news"> + <span class=" item-icon-left" > + <i class="icon ion-radio-waves"></i> + </span>news<span style="color:#268d3a;"> {{$root.newBlogPost}}</span> + </ion-item> + </div> <ion-item nav-clear menu-close href="#/log"> <span class=" item-icon-left"> @@ -226,13 +234,7 @@ </ion-item> </div> - <div ng-if="$root.showBlog"> - <ion-item nav-clear menu-close href="#/news"> - <span class=" item-icon-left" > - <i class="icon ion-radio-waves"></i> - </span>news<span style="color:#268d3a;"> {{$root.newBlogPost}}</span> - </ion-item> - </div> + <div ng-if="$root.platformOS=='android'"> <ion-item ng-click="$root.exitApp();"> diff --git a/www/js/ModalCtrl.js b/www/js/ModalCtrl.js index 6707ea36..e6d9bbab 100644 --- a/www/js/ModalCtrl.js +++ b/www/js/ModalCtrl.js @@ -210,7 +210,7 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco content: 'K', empty: true, onclick: function () { - console.log('About'); + //console.log('About'); } }, ] @@ -280,7 +280,7 @@ angular.module('zmApp.controllers').controller('ModalCtrl', ['$scope', '$rootSco $scope.togglePresets = function () { $scope.presetOn = !$scope.presetOn; - console.log("Changing preset to " + $scope.presetOn); + //console.log("Changing preset to " + $scope.presetOn); var element = angular.element(document.getElementById("presetlist")); // bring it in diff --git a/www/js/PortalLoginCtrl.js b/www/js/PortalLoginCtrl.js index b31d07c4..0ef20705 100644 --- a/www/js/PortalLoginCtrl.js +++ b/www/js/PortalLoginCtrl.js @@ -101,7 +101,7 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic { var ld = ZMDataModel.getLogin(); - console.log ("***** NOTIFICATION TAPPED "); + //console.log ("***** NOTIFICATION TAPPED "); $rootScope.tappedNotification = 0; $ionicHistory.nextViewOptions({disableBack: true}); diff --git a/www/templates/news.html b/www/templates/news.html index e801e3da..3052661c 100644 --- a/www/templates/news.html +++ b/www/templates/news.html @@ -12,10 +12,10 @@ <div class="list"> <span ng-repeat = "post in newsItems"> - <a class="item item-icon-left" ng-click="loadPost(post.url, post.date)" href=""> + <a class="item item-text-wrap item-icon-left" ng-click="loadPost(post.url, post.date)" href=""> <i ng-class="isUnread(post.date) ? 'icon ion-email-unread': 'icon ion-ios-email-outline'"></i> {{post.title}} - {{post.date}} + <p>{{post.date}}</p> </a> |
