summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js12
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',
+
+ })