##// END OF EJS Templates
repo-groups: implemented default personal repo groups logic....
repo-groups: implemented default personal repo groups logic. - fixes #4003 - adds new settings to automatically create personal repo groups for users on API cal, add user form, registration - it's possible to create a pattern based repo group for example /u/{username}

File last commit:

r727:912a8f06 default
r1094:6b71b2c4 default
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"
}
});