change version notifications to html5
This commit is contained in:
parent
80376c16f8
commit
f964467c01
3 changed files with 14 additions and 17 deletions
|
|
@ -16,6 +16,10 @@ factory('notification', ['$timeout',
|
|||
duration: 5000,
|
||||
enabled: true
|
||||
},
|
||||
version: {
|
||||
duration: 60000,
|
||||
enabled: true
|
||||
},
|
||||
warning: {
|
||||
duration: 5000,
|
||||
enabled: true
|
||||
|
|
@ -135,6 +139,10 @@ factory('notification', ['$timeout',
|
|||
return this.awesomeNotify('funds', 'bitcoin', title, content, userData);
|
||||
},
|
||||
|
||||
version: function(title, content, severe) {
|
||||
return this.awesomeNotify('version', severe ? 'alert' : 'flag', title, content);
|
||||
},
|
||||
|
||||
error: function(title, content, userData) {
|
||||
return this.awesomeNotify('error', 'x', title, content, userData);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue