Mercurial > kallithea
annotate rhodecode/templates/repo_switcher_list.html @ 1444:d17aa79768f0 beta
AD fix when search could return empty dn
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 15 Aug 2011 19:53:43 +0300 |
parents | 83714588272c |
children | 96ae22a4e963 |
rev | line source |
---|---|
1263
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
2 |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
3 <li class="qfilter_rs"> |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
4 <input type="text" |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
5 style="border:0" |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
6 value="quick filter..." |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
7 name="filter" size="15" id="q_filter_rs" /> |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
8 </li> |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
9 |
1158
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 %for repo in c.repos_list: |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 %if repo['dbrepo']['private']: |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 <li> |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 <img src="${h.url("/images/icons/lock.png")}" alt="${_('Private repository')}" class="repo_switcher_type"/> |
1263
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
15 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} |
1158
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 </li> |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 %else: |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 <li> |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 <img src="${h.url("/images/icons/lock_open.png")}" alt="${_('Public repository')}" class="repo_switcher_type" /> |
1263
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
20 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} |
1158
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 </li> |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 %endif |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 %endfor |