##// END OF EJS Templates
mercurial: fix new 4.4.X code change that does strict requirement checks....
mercurial: fix new 4.4.X code change that does strict requirement checks. in few cases we init bare repos for checking, and we should use defauls that always work. - fixes #5433

File last commit:

r727:912a8f06 default
r2518:3b67d94e stable
Show More
rhodecode-toggle.js
15 lines | 517 B | application/javascript | JavascriptLexer
Polymer({
is: 'rhodecode-toggle',
properties: {
noSpinner: { type: Boolean, value: false, reflectToAttribute:true},
tooltipText: { type: String, value: "Click to toggle", reflectToAttribute:true},
checked: { type: Boolean, value: false, reflectToAttribute:true},
active: { type: Boolean, value: false, reflectToAttribute:true, notify:true}
},
shouldShow: function(){
return !this.noSpinner
},
labelStatus: function(isActive){
return this.checked? 'Enabled' : "Disabled"
}
});