##// END OF EJS Templates
spelling: chosen
Mads Kiilerich -
r3622:91ff741c beta
parent child Browse files
Show More
@@ -652,7 +652,7 b' Add the following at the end of the .ini'
652 prefix = /<someprefix>
652 prefix = /<someprefix>
653
653
654
654
655 then change <someprefix> into your choosen prefix
655 then change <someprefix> into your chosen prefix
656
656
657 Apache's WSGI config
657 Apache's WSGI config
658 --------------------
658 --------------------
@@ -2044,7 +2044,7 b' var MultiSelectWidget = function(selecte'
2044 av_cache.push(node);
2044 av_cache.push(node);
2045 }
2045 }
2046
2046
2047 //fill available only with those not in choosen
2047 //fill available only with those not in chosen
2048 ac.options.length=0;
2048 ac.options.length=0;
2049 tmp_cache = new Array();
2049 tmp_cache = new Array();
2050
2050
@@ -2067,7 +2067,7 b' var MultiSelectWidget = function(selecte'
2067
2067
2068 function prompts_action_callback(e){
2068 function prompts_action_callback(e){
2069
2069
2070 var choosen = YUD.get(selected_container);
2070 var chosen = YUD.get(selected_container);
2071 var available = YUD.get(available_container);
2071 var available = YUD.get(available_container);
2072
2072
2073 //get checked and unchecked options from field
2073 //get checked and unchecked options from field
@@ -2110,30 +2110,30 b' var MultiSelectWidget = function(selecte'
2110 // add action
2110 // add action
2111 if (this.id=='add_element'){
2111 if (this.id=='add_element'){
2112 var c = get_checked(available);
2112 var c = get_checked(available);
2113 add_to(choosen,c[0]);
2113 add_to(chosen,c[0]);
2114 fill_with(available,c[1]);
2114 fill_with(available,c[1]);
2115 }
2115 }
2116 // remove action
2116 // remove action
2117 if (this.id=='remove_element'){
2117 if (this.id=='remove_element'){
2118 var c = get_checked(choosen);
2118 var c = get_checked(chosen);
2119 add_to(available,c[0]);
2119 add_to(available,c[0]);
2120 fill_with(choosen,c[1]);
2120 fill_with(chosen,c[1]);
2121 }
2121 }
2122 // add all elements
2122 // add all elements
2123 if(this.id=='add_all_elements'){
2123 if(this.id=='add_all_elements'){
2124 for(var i=0; node = available.options[i];i++){
2124 for(var i=0; node = available.options[i];i++){
2125 choosen.appendChild(new Option(node.text,
2125 chosen.appendChild(new Option(node.text,
2126 node.value, false, false));
2126 node.value, false, false));
2127 }
2127 }
2128 available.options.length = 0;
2128 available.options.length = 0;
2129 }
2129 }
2130 //remove all elements
2130 //remove all elements
2131 if(this.id=='remove_all_elements'){
2131 if(this.id=='remove_all_elements'){
2132 for(var i=0; node = choosen.options[i];i++){
2132 for(var i=0; node = chosen.options[i];i++){
2133 available.appendChild(new Option(node.text,
2133 available.appendChild(new Option(node.text,
2134 node.value, false, false));
2134 node.value, false, false));
2135 }
2135 }
2136 choosen.options.length = 0;
2136 chosen.options.length = 0;
2137 }
2137 }
2138
2138
2139 }
2139 }
@@ -2143,9 +2143,9 b' var MultiSelectWidget = function(selecte'
2143 prompts_action_callback)
2143 prompts_action_callback)
2144 if (form_id !== undefined) {
2144 if (form_id !== undefined) {
2145 YUE.addListener(form_id,'submit',function(){
2145 YUE.addListener(form_id,'submit',function(){
2146 var choosen = YUD.get(selected_container);
2146 var chosen = YUD.get(selected_container);
2147 for (var i = 0; i < choosen.options.length; i++) {
2147 for (var i = 0; i < chosen.options.length; i++) {
2148 choosen.options[i].selected = 'selected';
2148 chosen.options[i].selected = 'selected';
2149 }
2149 }
2150 });
2150 });
2151 }
2151 }
@@ -46,7 +46,7 b''
46 ${h.checkbox('overwrite_default_repo','true')}
46 ${h.checkbox('overwrite_default_repo','true')}
47 <label for="overwrite_default_repo">
47 <label for="overwrite_default_repo">
48 <span class="tooltip"
48 <span class="tooltip"
49 title="${h.tooltip(_('All default permissions on each repository will be reset to choosen permission, note that all custom default permission on repositories will be lost'))}">
49 title="${h.tooltip(_('All default permissions on each repository will be reset to chosen permission, note that all custom default permission on repositories will be lost'))}">
50 ${_('overwrite existing settings')}</span> </label>
50 ${_('overwrite existing settings')}</span> </label>
51 </div>
51 </div>
52 </div>
52 </div>
@@ -59,7 +59,7 b''
59 ${h.checkbox('overwrite_default_group','true')}
59 ${h.checkbox('overwrite_default_group','true')}
60 <label for="overwrite_default_group">
60 <label for="overwrite_default_group">
61 <span class="tooltip"
61 <span class="tooltip"
62 title="${h.tooltip(_('All default permissions on each repository group will be reset to choosen permission, note that all custom default permission on repository groups will be lost'))}">
62 title="${h.tooltip(_('All default permissions on each repository group will be reset to chosen permission, note that all custom default permission on repository groups will be lost'))}">
63 ${_('overwrite existing settings')}</span> </label>
63 ${_('overwrite existing settings')}</span> </label>
64
64
65 </div>
65 </div>
@@ -55,7 +55,7 b''
55 <td>
55 <td>
56 <div>
56 <div>
57 <div style="float:left">
57 <div style="float:left">
58 <div class="text" style="padding: 0px 0px 6px;">${_('Choosen group members')}</div>
58 <div class="text" style="padding: 0px 0px 6px;">${_('Chosen group members')}</div>
59 ${h.select('users_group_members',[x[0] for x in c.group_members],c.group_members,multiple=True,size=8,style="min-width:210px")}
59 ${h.select('users_group_members',[x[0] for x in c.group_members],c.group_members,multiple=True,size=8,style="min-width:210px")}
60 <div id="remove_all_elements" style="cursor:pointer;text-align:center">
60 <div id="remove_all_elements" style="cursor:pointer;text-align:center">
61 ${_('Remove all elements')}
61 ${_('Remove all elements')}
General Comments 0
You need to be logged in to leave comments. Login now