Changeset - c49010829e4d
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2010-06-05 10:49:28
marcin@python-works.com
fixed sorting in repo switcher
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pylons_app/templates/base/base.html
Show inline comments
 
@@ -93,8 +93,8 @@ def is_current(selected):
 
					<a id="repo_switcher" title="${_('Switch repository')}" href="#">&darr;</a>
 
					<div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px">
 
						<select id="repos_list" size="=10">
 
						%for repo in c.cached_repo_list.values():
 
							<option value="${repo.name}">${repo.name}</option>
 
						%for repo in sorted(x.name.lower() for x in c.cached_repo_list.values()):
 
							<option value="${repo}">${repo}</option>
 
						%endfor
 
						</select>
 
					</div>			
0 comments (0 inline, 0 general)