##// END OF EJS Templates
svn-support: Use utf-8 to encode mod_dav_svn configuration before writing to disk....
svn-support: Use utf-8 to encode mod_dav_svn configuration before writing to disk. Repository or group names may contain non ASCII characters. Therfore we have to encode the configuration before writing it to the file.

File last commit:

r787:048ecbf3 default
r830:7ca2d1db default
Show More
rhodecode-toast.js
38 lines | 956 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)'
],
_changedToasts: function(newValue, oldValue){
this.$['p-toast'].notifyResize();
},
dismissNotifications: function(){
this.$['p-toast'].close();
notifications: clear out toasts after animation, remove ink animation from the button
r778 },
handleClosed: function(){
components: reorganize build pipeline to have nice separation of html/js/css
r703 this.splice('toasts', 0);
},
open: function(){
this.$['p-toast'].open();
},
frontend: introduce rhodecode-app for more complex cross element wiring
r787 handleNotification: function(data){
if (!templateContext.rhodecode_user.notification_status && !data.message.force) {
// do not act if notifications are disabled
return
}
this.push('toasts',{
level: data.message.level,
message: data.message.message
});
this.open();
},
components: reorganize build pipeline to have nice separation of html/js/css
r703 _gettext: _gettext
});