[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/homebase form-macros



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe 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

--- conga/luci/homebase/form-macros	2007/01/04 00:19:48	1.52
+++ conga/luci/homebase/form-macros	2007/01/24 19:59:52	1.53
@@ -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">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]