updated side menu

This commit is contained in:
arzynik 2014-04-25 23:43:44 -07:00
parent e11564310a
commit 95458576b6
2 changed files with 6 additions and 3 deletions

View File

@ -97,7 +97,8 @@
</div>
<div class="snap-drawer snap-drawer-right side-menu" id="side-menu-right">
<div class="content-padding">
<p>We will soon have a chat feature that goes to support here</p>
<p>We will soon have a chat feature that goes to support here. Until then, text us at: <br><br><a href="tel:16467831444">(646) 783-1444</a>
</p>
</div>
</div>
@ -110,8 +111,8 @@
<div class="nav nav-top">
<div class="content">
<div title="Menu" class="menu side" ng-click="navigation.menu()"></div>
<div title="Back" class="nav-back hide-before-init" ng-click="back()"></div>
<div title="Menu" class="menu side hide-before-init" ng-click="navigation.menu()" ng-hide="hasBack"></div>
<div title="Back" class="nav-back hide-before-init" ng-click="back()" ng-show="hasBack"></div>
<div class="notifications">
<div class="notification notification-orders" ng-click="navigation.link('/drivers/orders')">

View File

@ -123,6 +123,8 @@ NGApp.controller('AppController', function ($scope, $route, $http, $routeParams,
this.$apply(fn);
}
};
$rootScope.hasBack = false;
$scope.$on('$routeChangeSuccess', function ($currentRoute, $previousRoute) {
// Store the actual page