Mercurial > kallithea
annotate pylons_app/templates/files/files.html @ 306:43b229a8d782
admin path fix
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 28 Jun 2010 23:28:52 +0200 |
parents | ed7abf925696 |
children | 558eb7c5028f |
rev | line source |
---|---|
128
9deb6f1d5b90
Implemented file history.
Marcin Kuzminski <marcin@python-works.com>
parents:
106
diff
changeset
|
1 <%inherit file="/base/base.html"/> |
99
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 <%def name="title()"> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 ${_('Repository managment')} |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 </%def> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 <%def name="breadcrumbs()"> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 ${h.link_to(u'Home',h.url('/'))} |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 / |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 / |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 ${_('files')} |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 </%def> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 <%def name="page_nav()"> |
189
410101210923
removed search field from templates
Marcin Kuzminski <marcin@python-works.com>
parents:
168
diff
changeset
|
14 ${self.menu('files')} |
99
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 </%def> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 <%def name="css()"> |
102
2dc0c8e4f384
Updated tempaltes, added file browser breadcrumbs, and feed icons
Marcin Kuzminski <marcin@python-works.com>
parents:
99
diff
changeset
|
17 <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" /> |
99
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 <link rel="stylesheet" href="/css/pygments.css" type="text/css" /> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 </%def> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 <%def name="main()"> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 <h2 class="no-link no-border">${_('Files')}</h2> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 <div id="files_data"> |
139
f96f4cbf89ae
fixed files template when repository is empty
Marcin Kuzminski <marcin@python-works.com>
parents:
128
diff
changeset
|
23 %if c.files_list: |
128
9deb6f1d5b90
Implemented file history.
Marcin Kuzminski <marcin@python-works.com>
parents:
106
diff
changeset
|
24 <h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.files_list.path)}</h2> |
9deb6f1d5b90
Implemented file history.
Marcin Kuzminski <marcin@python-works.com>
parents:
106
diff
changeset
|
25 %if c.files_list.is_dir(): |
9deb6f1d5b90
Implemented file history.
Marcin Kuzminski <marcin@python-works.com>
parents:
106
diff
changeset
|
26 <%include file='files_browser.html'/> |
99
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
27 %else: |
128
9deb6f1d5b90
Implemented file history.
Marcin Kuzminski <marcin@python-works.com>
parents:
106
diff
changeset
|
28 <%include file='files_source.html'/> |
139
f96f4cbf89ae
fixed files template when repository is empty
Marcin Kuzminski <marcin@python-works.com>
parents:
128
diff
changeset
|
29 %endif |
f96f4cbf89ae
fixed files template when repository is empty
Marcin Kuzminski <marcin@python-works.com>
parents:
128
diff
changeset
|
30 %else: |
278
ed7abf925696
#4: changes proposed by feedback to annotation
Marcin Kuzminski <marcin@python-works.com>
parents:
189
diff
changeset
|
31 <h2> |
ed7abf925696
#4: changes proposed by feedback to annotation
Marcin Kuzminski <marcin@python-works.com>
parents:
189
diff
changeset
|
32 <a href="#" onClick="javascript:parent.history.back();" target="main">${_('Go back')}</a> |
ed7abf925696
#4: changes proposed by feedback to annotation
Marcin Kuzminski <marcin@python-works.com>
parents:
189
diff
changeset
|
33 ${_('No files at given path')}: "${c.f_path or "/"}" |
ed7abf925696
#4: changes proposed by feedback to annotation
Marcin Kuzminski <marcin@python-works.com>
parents:
189
diff
changeset
|
34 </h2> |
139
f96f4cbf89ae
fixed files template when repository is empty
Marcin Kuzminski <marcin@python-works.com>
parents:
128
diff
changeset
|
35 %endif |
f96f4cbf89ae
fixed files template when repository is empty
Marcin Kuzminski <marcin@python-works.com>
parents:
128
diff
changeset
|
36 |
99
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
37 </div> |
5b57295601b6
Updated basic files browser with, pygments
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
38 </%def> |