Mercurial > kallithea
diff pylons_app/templates/base/base.html @ 477:fdebc5f67dc6 celery
Some gui fixes
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 14 Sep 2010 17:34:15 +0200 |
parents | 8ba65e4c4e4c |
children | b50e79b4257a |
line wrap: on
line diff
--- a/pylons_app/templates/base/base.html Mon Sep 13 13:02:20 2010 +0200 +++ b/pylons_app/templates/base/base.html Tue Sep 14 17:34:15 2010 +0200 @@ -97,8 +97,12 @@ <span>↓</span> </a> <ul class="repo_switcher"> - %for repo in c.repo_switcher_list: - <li>${h.link_to(repo,h.url('summary_home',repo_name=repo))}</li> + %for repo,private in c.repo_switcher_list: + %if private: + <li>${h.link_to(repo,h.url('summary_home',repo_name=repo),class_="private_repo")}</li> + %else: + <li>${h.link_to(repo,h.url('summary_home',repo_name=repo),class_="public_repo")}</li> + %endif %endfor </ul> </li>