##// END OF EJS Templates
ux: make static 502 page for gateway error look better, fixes #4202
ux: make static 502 page for gateway error look better, fixes #4202

File last commit:

r703:1eda65ea default
r717:2dd2314d default
Show More
rhodecode-toast.js
29 lines | 586 B | application/javascript | JavascriptLexer
components: reorganize build pipeline to have nice separation of html/js/css
r703 Polymer({
is: 'rhodecode-toast',
properties: {
toasts: {
type: Array,
value: function(){
return []
}
}
},
observers: [
'_changedToasts(toasts.splices)'
],
ready: function(){
},
_changedToasts: function(newValue, oldValue){
this.$['p-toast'].notifyResize();
},
dismissNotifications: function(){
this.$['p-toast'].close();
this.splice('toasts', 0);
},
open: function(){
this.$['p-toast'].open();
},
_gettext: _gettext
});