diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-01-30 06:54:06 -0500 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-01-30 06:54:06 -0500 |
| commit | f6ff80802debe55c522ab1c4f0212022ada48ceb (patch) | |
| tree | eb5d3949ac448f0462b74779016f3e7107c0d501 /www/js/app.js | |
| parent | 08e9389d45559e43bbb7a6b4ec2210646c62d8c1 (diff) | |
#155 - added a screen to show relevant messages (such as this issue)
Former-commit-id: dc9c94c6cbf491ca6b29f514acb0cfebe9f8b187
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js index 071f2783..b74c3ed4 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -31,6 +31,7 @@ angular.module('zmApp', [ .constant('zm', { minAppVersion: '1.28.107', // if ZM is less than this, the app won't work + recommendedAppVersion: '1.30', minEventServerVersion: '0.5', alarmFlashTimer: 20000, // time to flash alarm gcmSenderId: '710936220256', @@ -1119,6 +1120,17 @@ angular.module('zmApp', [ controller: 'zmApp.LowVersionCtrl', }) + + .state('importantmessage', { + data: { + requireLogin: false + }, + + url: "/importantmessage/:ver", + templateUrl: "templates/important_message.html", + controller: 'zmApp.ImportantMessageCtrl', + + }) |
