Changeset - 664cc7341278
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2010-05-21 02:10:33
marcin@python-works.com
fixed repo switcher for easier switches. And took repo list from general cache
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
pylons_app/templates/base/base.html
Show inline comments
 
@@ -68,15 +68,15 @@
 
           });
 
       	</script>
 
        <ul class="page-nav">
 
			<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>			
 
			</li>
 
			<%def name="is_current(selected)">
 
				<%
0 comments (0 inline, 0 general)