Mercurial > kallithea
annotate rhodecode/templates/switch_to_list.html @ 1678:aa6a1c6f2ac5 beta
remove inline comments forms for anonymous users
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 13 Nov 2011 16:38:34 +0200 |
parents | 0069657aaf42 |
children | a3ee2611e6e8 |
rev | line source |
---|---|
1608
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 <li> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 ${h.link_to('%s (%s)' % (_('branches'),len(c.rhodecode_repo.branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')} |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 <ul> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 %if c.rhodecode_repo.branches.values(): |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 %for cnt,branch in enumerate(c.rhodecode_repo.branches.items()): |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 <li>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=branch[1]))}</li> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 %endfor |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 %else: |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 <li>${h.link_to(_('There are no branches yet'),'#')}</li> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 %endif |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 </ul> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 </li> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 <li> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 ${h.link_to('%s (%s)' % (_('tags'),len(c.rhodecode_repo.tags.values()),),h.url('tags_home',repo_name=c.repo_name),class_='tags childs')} |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 <ul> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 %if c.rhodecode_repo.tags.values(): |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 %for cnt,tag in enumerate(c.rhodecode_repo.tags.items()): |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 <li>${h.link_to('%s - %s' % (tag[0],h.short_id(tag[1])),h.url('files_home',repo_name=c.repo_name,revision=tag[1]))}</li> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 %endfor |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 %else: |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 <li>${h.link_to(_('There are no tags yet'),'#')}</li> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 %endif |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 </ul> |
0069657aaf42
lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 </li> |