Skip to contentSkip to conversation

conga/luci/homebase form-macros

Cluster-devel [email protected] 1 participant 1 message Jan 24, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-01-24 19:59:52

Modified files:
luci/homebase : form-macros

Log message:
address remaining bz213083 issues

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&r1=1.52&r2=1.53

luci/homebase/form-macros +3 -1
@@ -199,13 +199,15 @@
 		<span tal:condition="python:perms" tal:content="string:Select a User" /><br/>
 
 		<select tal:omit-tag="python: not perms" class="homebase" name="userList" onChange="document.location = this.form.baseURL.value + '&user=' + this.form.userList.options[this.form.userList.selectedIndex].text">
-			<tal:block tal:repeat="user python:perms">
+			<tal:block tal:define="userlist python: perms.keys().sort()">
+			<tal:block tal:repeat="user userlist">
 				<option class="homebase"
 					tal:content="python:user"
 					tal:attributes="value python:user;
 									selected python:user == curUser"
 				/>
 			</tal:block>
+			</tal:block>
 		</select>
 
 		<h3 class="homebase" tal:condition="python:systems[0] and len(systems[0]) > 0">