Mercurial > kallithea
diff rhodecode/templates/switch_to_list.html @ 1754:d0effbe1acb1 beta
banned git-repos to use bookmarks views
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 04 Dec 2011 23:44:25 +0200 |
parents | a3ee2611e6e8 |
children | 184557472f5c |
line wrap: on
line diff
--- a/rhodecode/templates/switch_to_list.html Sun Dec 04 23:39:32 2011 +0200 +++ b/rhodecode/templates/switch_to_list.html Sun Dec 04 23:44:25 2011 +0200 @@ -23,6 +23,7 @@ %endif </ul> </li> +%if c.rhodecode_repo.alias == 'hg': <li> ${h.link_to('%s (%s)' % (_('bookmarks'),len(c.rhodecode_repo.bookmarks.values()),),h.url('bookmarks_home',repo_name=c.repo_name),class_='bookmarks childs')} <ul> @@ -34,4 +35,5 @@ <li>${h.link_to(_('There are no bookmarks yet'),'#')}</li> %endif </ul> -</li> \ No newline at end of file +</li> +%endif \ No newline at end of file