changeset 166:664cc7341278

fixed repo switcher for easier switches. And took repo list from general cache
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 21 May 2010 02:10:33 +0200
parents ea893ffb7f00
children e5a25c57c97f
files pylons_app/templates/base/base.html
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/templates/base/base.html	Fri May 21 02:07:49 2010 +0200
+++ b/pylons_app/templates/base/base.html	Fri May 21 02:10:33 2010 +0200
@@ -71,9 +71,9 @@
 			<li>
 				<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">
-					%for repo in c.repo_list:
-						<option value="${repo}">${repo}</option>
+					<select id="repos_list" size="=10">
+					%for repo in c.cached_repo_list:
+						<option value="${repo['name']}">${repo['name']}</option>
 					%endfor
 					</select>
 				</div>