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