Mercurial > kallithea
comparison pylons_app/templates/base/base.html @ 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 | 42d916306766 |
children | 8dd7305fbc2d |
comparison
equal
deleted
inserted
replaced
165:ea893ffb7f00 | 166:664cc7341278 |
---|---|
69 </script> | 69 </script> |
70 <ul class="page-nav"> | 70 <ul class="page-nav"> |
71 <li> | 71 <li> |
72 <a id="repo_switcher" title="${_('Switch repository')}" href="#">↓</a> | 72 <a id="repo_switcher" title="${_('Switch repository')}" href="#">↓</a> |
73 <div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px"> | 73 <div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px"> |
74 <select id="repos_list"> | 74 <select id="repos_list" size="=10"> |
75 %for repo in c.repo_list: | 75 %for repo in c.cached_repo_list: |
76 <option value="${repo}">${repo}</option> | 76 <option value="${repo['name']}">${repo['name']}</option> |
77 %endfor | 77 %endfor |
78 </select> | 78 </select> |
79 </div> | 79 </div> |
80 </li> | 80 </li> |
81 <%def name="is_current(selected)"> | 81 <%def name="is_current(selected)"> |