Show More
@@ -1,45 +1,38 | |||||
1 | <%inherit file="/base/base.html"/> |
|
1 | <%inherit file="/base/base.html"/> | |
2 | <%! from pylons_app.lib import filters %> |
|
2 | <%! from pylons_app.lib import filters %> | |
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('Branches')} |
|
4 | ${_('Branches')} | |
5 | </%def> |
|
5 | </%def> | |
6 | <%def name="breadcrumbs()"> |
|
6 | <%def name="breadcrumbs()"> | |
7 | ${h.link_to(u'Home',h.url('/'))} |
|
7 | ${h.link_to(u'Home',h.url('/'))} | |
8 | / |
|
8 | / | |
9 | ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} |
|
9 | ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} | |
10 | / |
|
10 | / | |
11 | ${_('branches')} |
|
11 | ${_('branches')} | |
12 | </%def> |
|
12 | </%def> | |
13 | <%def name="page_nav()"> |
|
13 | <%def name="page_nav()"> | |
14 | <form action="log"> |
|
14 | ${self.menu('branches')} | |
15 | <dl class="search"> |
|
|||
16 | <dt><label>Search: </label></dt> |
|
|||
17 | <dd><input type="text" name="rev" /></dd> |
|
|||
18 | </dl> |
|
|||
19 | </form> |
|
|||
20 |
|
||||
21 | ${self.menu('branches')} |
|
|||
22 | </%def> |
|
15 | </%def> | |
23 | <%def name="main()"> |
|
16 | <%def name="main()"> | |
24 |
|
17 | |||
25 | <h2 class="no-link no-border">${_('Branches')}</h2> |
|
18 | <h2 class="no-link no-border">${_('Branches')}</h2> | |
26 |
|
19 | |||
27 | <table> |
|
20 | <table> | |
28 | %for cnt,branch in enumerate(c.repo_branches): |
|
21 | %for cnt,branch in enumerate(c.repo_branches): | |
29 | <tr class="parity${cnt%2}"> |
|
22 | <tr class="parity${cnt%2}"> | |
30 | <td>${branch._ctx.date()|n,filters.age}</td> |
|
23 | <td>${branch._ctx.date()|n,filters.age}</td> | |
31 | <td> |
|
24 | <td> | |
32 | <span class="logtags"> |
|
25 | <span class="logtags"> | |
33 | <span class="branchtag">${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}</span> |
|
26 | <span class="branchtag">${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}</span> | |
34 | </span> |
|
27 | </span> | |
35 | </td> |
|
28 | </td> | |
36 | <td class="nowrap"> |
|
29 | <td class="nowrap"> | |
37 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))} |
|
30 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))} | |
38 | | |
|
31 | | | |
39 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))} |
|
32 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))} | |
40 | </td> |
|
33 | </td> | |
41 | </tr> |
|
34 | </tr> | |
42 | %endfor |
|
35 | %endfor | |
43 | </table> |
|
36 | </table> | |
44 |
|
37 | |||
45 | </%def> No newline at end of file |
|
38 | </%def> |
@@ -1,37 +1,34 | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 | <%! |
|
2 | <%! | |
3 | from pylons_app.lib import filters |
|
3 | from pylons_app.lib import filters | |
4 | %> |
|
4 | %> | |
5 | <%inherit file="./../base/base.html"/> |
|
5 | <%inherit file="./../base/base.html"/> | |
6 |
|
6 | |||
7 | <%def name="title()"> |
|
7 | <%def name="title()"> | |
8 | ${_('Repository not found')} |
|
8 | ${_('Repository not found')} | |
9 | </%def> |
|
9 | </%def> | |
10 |
|
10 | |||
11 | <%def name="breadcrumbs()"> |
|
11 | <%def name="breadcrumbs()"> | |
12 | ${h.link_to(u'Home',h.url('hg_home'))} |
|
12 | ${h.link_to(u'Home',h.url('hg_home'))} | |
13 | / |
|
13 | / | |
14 | ${h.link_to(u'Admin',h.url('admin_home'))} |
|
14 | ${h.link_to(u'Admin',h.url('admin_home'))} | |
15 | </%def> |
|
15 | </%def> | |
16 |
|
16 | |||
17 | <%def name="page_nav()"> |
|
17 | <%def name="page_nav()"> | |
18 | <ul class="page-nav"> |
|
18 | ${self.menu('admin')} | |
19 | <li>${h.link_to(u'Home',h.url('hg_home'))}</li> |
|
|||
20 | <li class="current">${_('Admin')}</li> |
|
|||
21 | </ul> |
|
|||
22 | </%def> |
|
19 | </%def> | |
23 | <%def name="js()"> |
|
20 | <%def name="js()"> | |
24 |
|
21 | |||
25 | </%def> |
|
22 | </%def> | |
26 | <%def name="main()"> |
|
23 | <%def name="main()"> | |
27 |
|
24 | |||
28 | <h2 class="no-link no-border">Not Found</h2> |
|
25 | <h2 class="no-link no-border">Not Found</h2> | |
29 | <p class="normal">The specified repository "${c.repo_name}" is unknown, sorry.</p> |
|
26 | <p class="normal">The specified repository "${c.repo_name}" is unknown, sorry.</p> | |
30 | <p class="normal"> |
|
27 | <p class="normal"> | |
31 | <a href="/_admin/add_repo/${c.repo_name|n,filters.clean_repo}">Create "${c.repo_name}" repository as ${c.repo_name|n,filters.clean_repo}</a> |
|
28 | <a href="/_admin/add_repo/${c.repo_name|n,filters.clean_repo}">Create "${c.repo_name}" repository as ${c.repo_name|n,filters.clean_repo}</a> | |
32 |
|
29 | |||
33 | </p> |
|
30 | </p> | |
34 | <p class="normal">Go back to the ${h.link_to(_('main repository list page'),h.url('hg_home'))}.</p> |
|
31 | <p class="normal">Go back to the ${h.link_to(_('main repository list page'),h.url('hg_home'))}.</p> | |
35 | <div class="page-footer"> |
|
32 | <div class="page-footer"> | |
36 | </div> |
|
33 | </div> | |
37 | </%def> No newline at end of file |
|
34 | </%def> |
@@ -1,50 +1,43 | |||||
1 | <%inherit file="/base/base.html"/> |
|
1 | <%inherit file="/base/base.html"/> | |
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('Repository managment')} |
|
4 | ${_('Repository managment')} | |
5 | </%def> |
|
5 | </%def> | |
6 | <%def name="breadcrumbs()"> |
|
6 | <%def name="breadcrumbs()"> | |
7 | ${h.link_to(u'Home',h.url('/'))} |
|
7 | ${h.link_to(u'Home',h.url('/'))} | |
8 | / |
|
8 | / | |
9 | ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} |
|
9 | ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} | |
10 | / |
|
10 | / | |
11 | ${_('files')} |
|
11 | ${_('files')} | |
12 | </%def> |
|
12 | </%def> | |
13 | <%def name="page_nav()"> |
|
13 | <%def name="page_nav()"> | |
14 | <form action="log"> |
|
14 | ${self.menu('files')} | |
15 | <dl class="search"> |
|
|||
16 | <dt><label>Search: </label></dt> |
|
|||
17 | <dd><input type="text" name="rev" /></dd> |
|
|||
18 | </dl> |
|
|||
19 | </form> |
|
|||
20 |
|
||||
21 | ${self.menu('files')} |
|
|||
22 | </%def> |
|
15 | </%def> | |
23 | <%def name="css()"> |
|
16 | <%def name="css()"> | |
24 | <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" /> |
|
17 | <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" /> | |
25 | <link rel="stylesheet" href="/css/diff.css" type="text/css" /> |
|
18 | <link rel="stylesheet" href="/css/diff.css" type="text/css" /> | |
26 | </%def> |
|
19 | </%def> | |
27 | <%def name="main()"> |
|
20 | <%def name="main()"> | |
28 | <h2 class="no-link no-border">${'%s: %s %s %s' % (_('File diff'),c.diff2,'→',c.diff1)|n}</h2> |
|
21 | <h2 class="no-link no-border">${'%s: %s %s %s' % (_('File diff'),c.diff2,'→',c.diff1)|n}</h2> | |
29 | <div id="body" class="diffblock"> |
|
22 | <div id="body" class="diffblock"> | |
30 | <div class="code-header"> |
|
23 | <div class="code-header"> | |
31 | <div> |
|
24 | <div> | |
32 | <span>${h.link_to(c.f_path,h.url('files_home',repo_name=c.repo_name, |
|
25 | <span>${h.link_to(c.f_path,h.url('files_home',repo_name=c.repo_name, | |
33 | revision=c.diff2.split(':')[1],f_path=c.f_path))}</span> |
|
26 | revision=c.diff2.split(':')[1],f_path=c.f_path))}</span> | |
34 | » <span style="font-size:77%">${h.link_to(_('diff'), |
|
27 | » <span style="font-size:77%">${h.link_to(_('diff'), | |
35 | h.url.current(diff2=c.diff2.split(':')[-1],diff1=c.diff1.split(':')[-1],diff='diff'))}</span> |
|
28 | h.url.current(diff2=c.diff2.split(':')[-1],diff1=c.diff1.split(':')[-1],diff='diff'))}</span> | |
36 | » <span style="font-size:77%">${h.link_to(_('raw diff'), |
|
29 | » <span style="font-size:77%">${h.link_to(_('raw diff'), | |
37 | h.url.current(diff2=c.diff2.split(':')[-1],diff1=c.diff1.split(':')[-1],diff='raw'))}</span> |
|
30 | h.url.current(diff2=c.diff2.split(':')[-1],diff1=c.diff1.split(':')[-1],diff='raw'))}</span> | |
38 | » <span style="font-size:77%">${h.link_to(_('download diff'), |
|
31 | » <span style="font-size:77%">${h.link_to(_('download diff'), | |
39 | h.url.current(diff2=c.diff2.split(':')[-1],diff1=c.diff1.split(':')[-1],diff='download'))}</span> |
|
32 | h.url.current(diff2=c.diff2.split(':')[-1],diff1=c.diff1.split(':')[-1],diff='download'))}</span> | |
40 | </div> |
|
33 | </div> | |
41 | </div> |
|
34 | </div> | |
42 | <div class="code-body"> |
|
35 | <div class="code-body"> | |
43 | %if c.no_changes: |
|
36 | %if c.no_changes: | |
44 | ${_('No changes')} |
|
37 | ${_('No changes')} | |
45 | %else: |
|
38 | %else: | |
46 | ${c.cur_diff|n} |
|
39 | ${c.cur_diff|n} | |
47 | %endif |
|
40 | %endif | |
48 | </div> |
|
41 | </div> | |
49 | </div> |
|
42 | </div> | |
50 | </%def> No newline at end of file |
|
43 | </%def> |
@@ -1,42 +1,35 | |||||
1 | <%inherit file="/base/base.html"/> |
|
1 | <%inherit file="/base/base.html"/> | |
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('Repository managment')} |
|
4 | ${_('Repository managment')} | |
5 | </%def> |
|
5 | </%def> | |
6 | <%def name="breadcrumbs()"> |
|
6 | <%def name="breadcrumbs()"> | |
7 | ${h.link_to(u'Home',h.url('/'))} |
|
7 | ${h.link_to(u'Home',h.url('/'))} | |
8 | / |
|
8 | / | |
9 | ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} |
|
9 | ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))} | |
10 | / |
|
10 | / | |
11 | ${_('files')} |
|
11 | ${_('files')} | |
12 | </%def> |
|
12 | </%def> | |
13 | <%def name="page_nav()"> |
|
13 | <%def name="page_nav()"> | |
14 | <form action="log"> |
|
14 | ${self.menu('files')} | |
15 | <dl class="search"> |
|
|||
16 | <dt><label>Search: </label></dt> |
|
|||
17 | <dd><input type="text" name="rev" /></dd> |
|
|||
18 | </dl> |
|
|||
19 | </form> |
|
|||
20 |
|
||||
21 | ${self.menu('files')} |
|
|||
22 | </%def> |
|
15 | </%def> | |
23 | <%def name="css()"> |
|
16 | <%def name="css()"> | |
24 | <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" /> |
|
17 | <link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" /> | |
25 | <link rel="stylesheet" href="/css/pygments.css" type="text/css" /> |
|
18 | <link rel="stylesheet" href="/css/pygments.css" type="text/css" /> | |
26 | </%def> |
|
19 | </%def> | |
27 | <%def name="main()"> |
|
20 | <%def name="main()"> | |
28 | <h2 class="no-link no-border">${_('Files')}</h2> |
|
21 | <h2 class="no-link no-border">${_('Files')}</h2> | |
29 | <div id="files_data"> |
|
22 | <div id="files_data"> | |
30 | %if c.files_list: |
|
23 | %if c.files_list: | |
31 | <h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.files_list.path)}</h2> |
|
24 | <h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.files_list.path)}</h2> | |
32 | %if c.files_list.is_dir(): |
|
25 | %if c.files_list.is_dir(): | |
33 | <%include file='files_browser.html'/> |
|
26 | <%include file='files_browser.html'/> | |
34 | %else: |
|
27 | %else: | |
35 | <%include file='files_source.html'/> |
|
28 | <%include file='files_source.html'/> | |
36 | %endif |
|
29 | %endif | |
37 | %else: |
|
30 | %else: | |
38 | <h2><a href="#" onClick="javascript:parent.history.back();" target="main">${_('Go back')}</a> ${_('No files at given path')}: "${c.f_path or "/"}" </h2> |
|
31 | <h2><a href="#" onClick="javascript:parent.history.back();" target="main">${_('Go back')}</a> ${_('No files at given path')}: "${c.f_path or "/"}" </h2> | |
39 | %endif |
|
32 | %endif | |
40 |
|
33 | |||
41 | </div> |
|
34 | </div> | |
42 | </%def> No newline at end of file |
|
35 | </%def> |
@@ -1,30 +1,23 | |||||
1 | <%inherit file="/base/base.html"/> |
|
1 | <%inherit file="/base/base.html"/> | |
2 |
|
2 | |||
3 | <%def name="title()"> |
|
3 | <%def name="title()"> | |
4 | ${_('Repository managment')} |
|
4 | ${_('Repository managment')} | |
5 | </%def> |
|
5 | </%def> | |
6 | <%def name="breadcrumbs()"> |
|
6 | <%def name="breadcrumbs()"> | |
7 | ${h.link_to(u'Home',h.url('/'))} |
|
7 | ${h.link_to(u'Home',h.url('/'))} | |
8 | / |
|
8 | / | |
9 | ${h.link_to(c.repo_name,h.url('shortlog_home',repo_name=c.repo_name))} |
|
9 | ${h.link_to(c.repo_name,h.url('shortlog_home',repo_name=c.repo_name))} | |
10 | / |
|
10 | / | |
11 | ${_('shortlog')} |
|
11 | ${_('shortlog')} | |
12 | </%def> |
|
12 | </%def> | |
13 | <%def name="page_nav()"> |
|
13 | <%def name="page_nav()"> | |
14 | <form action="log"> |
|
14 | ${self.menu('shortlog')} | |
15 | <dl class="search"> |
|
|||
16 | <dt><label>Search: </label></dt> |
|
|||
17 | <dd><input type="text" name="rev" /></dd> |
|
|||
18 | </dl> |
|
|||
19 | </form> |
|
|||
20 |
|
||||
21 | ${self.menu('shortlog')} |
|
|||
22 | </%def> |
|
15 | </%def> | |
23 | <%def name="main()"> |
|
16 | <%def name="main()"> | |
24 |
|
17 | |||
25 | <h2 class="no-link no-border">${_('Shortlog')}</h2> |
|
18 | <h2 class="no-link no-border">${_('Shortlog')}</h2> | |
26 |
|
19 | |||
27 | <div id="shortlog_data"> |
|
20 | <div id="shortlog_data"> | |
28 | ${c.shortlog_data} |
|
21 | ${c.shortlog_data} | |
29 | </div> |
|
22 | </div> | |
30 | </%def> No newline at end of file |
|
23 | </%def> |
@@ -1,126 +1,120 | |||||
1 | <%inherit file="/base/base.html"/> |
|
1 | <%inherit file="/base/base.html"/> | |
2 | <%! |
|
2 | <%! | |
3 | from pylons_app.lib import filters |
|
3 | from pylons_app.lib import filters | |
4 | %> |
|
4 | %> | |
5 | <%def name="title()"> |
|
5 | <%def name="title()"> | |
6 | ${_('Repository managment')} |
|
6 | ${_('Repository managment')} | |
7 | </%def> |
|
7 | </%def> | |
8 | <%def name="breadcrumbs()"> |
|
8 | <%def name="breadcrumbs()"> | |
9 | ${h.link_to(u'Home',h.url('/'))} |
|
9 | ${h.link_to(u'Home',h.url('/'))} | |
10 | / |
|
10 | / | |
11 | ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} |
|
11 | ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} | |
12 | / |
|
12 | / | |
13 | ${_('summary')} |
|
13 | ${_('summary')} | |
14 | </%def> |
|
14 | </%def> | |
15 | <%def name="page_nav()"> |
|
15 | <%def name="page_nav()"> | |
16 | <form action="log"> |
|
16 | ${self.menu('summary')} | |
17 | <dl class="search"> |
|
|||
18 | <dt><label>Search: </label></dt> |
|
|||
19 | <dd><input type="text" name="rev" /></dd> |
|
|||
20 | </dl> |
|
|||
21 | </form> |
|
|||
22 | ${self.menu('summary')} |
|
|||
23 | </%def> |
|
17 | </%def> | |
24 | <%def name="main()"> |
|
18 | <%def name="main()"> | |
25 | <h2 class="no-link no-border">${_('Mercurial Repository Overview')}</h2> |
|
19 | <h2 class="no-link no-border">${_('Mercurial Repository Overview')}</h2> | |
26 | <dl class="overview"> |
|
20 | <dl class="overview"> | |
27 | <dt>${_('name')}</dt> |
|
21 | <dt>${_('name')}</dt> | |
28 | <dd>${c.repo_info.name}</dd> |
|
22 | <dd>${c.repo_info.name}</dd> | |
29 | <dt>${_('description')}</dt> |
|
23 | <dt>${_('description')}</dt> | |
30 | <dd>${c.repo_info.description}</dd> |
|
24 | <dd>${c.repo_info.description}</dd> | |
31 | <dt>${_('contact')}</dt> |
|
25 | <dt>${_('contact')}</dt> | |
32 | <dd>${c.repo_info.contact}</dd> |
|
26 | <dd>${c.repo_info.contact}</dd> | |
33 | <dt>${_('last change')}</dt> |
|
27 | <dt>${_('last change')}</dt> | |
34 | <dd>${c.repo_info.last_change|n,filters.rfc822date} - ${c.repo_info.last_change|n,filters.age}</dd> |
|
28 | <dd>${c.repo_info.last_change|n,filters.rfc822date} - ${c.repo_info.last_change|n,filters.age}</dd> | |
35 | <dt>${_('url')}</dt> |
|
29 | <dt>${_('url')}</dt> | |
36 | <dd><pre style="margin:0">hg clone <a href="${c.clone_repo_url}">${c.clone_repo_url}</a></pre></dd> |
|
30 | <dd><pre style="margin:0">hg clone <a href="${c.clone_repo_url}">${c.clone_repo_url}</a></pre></dd> | |
37 | <dt>${_('Download')}</dt> |
|
31 | <dt>${_('Download')}</dt> | |
38 | <dd> |
|
32 | <dd> | |
39 | %for cnt,archive in enumerate(c.repo_info._get_archives()): |
|
33 | %for cnt,archive in enumerate(c.repo_info._get_archives()): | |
40 | %if cnt >=1: |
|
34 | %if cnt >=1: | |
41 | | |
|
35 | | | |
42 | %endif |
|
36 | %endif | |
43 | ${h.link_to(c.repo_info.name+'.'+archive['type'], |
|
37 | ${h.link_to(c.repo_info.name+'.'+archive['type'], | |
44 | h.url('files_archive_home',repo_name=c.repo_info.name, |
|
38 | h.url('files_archive_home',repo_name=c.repo_info.name, | |
45 | revision='tip',fileformat=archive['extension']))} |
|
39 | revision='tip',fileformat=archive['extension']))} | |
46 | %endfor |
|
40 | %endfor | |
47 | </dd> |
|
41 | </dd> | |
48 | </dl> |
|
42 | </dl> | |
49 |
|
43 | |||
50 | <h2>${h.link_to(_('Changes'),h.url('changelog_home',repo_name=c.repo_name))}</h2> |
|
44 | <h2>${h.link_to(_('Changes'),h.url('changelog_home',repo_name=c.repo_name))}</h2> | |
51 | <table> |
|
45 | <table> | |
52 | <%def name="message_slug(msg)"> |
|
46 | <%def name="message_slug(msg)"> | |
53 | <% |
|
47 | <% | |
54 | limit = 60 |
|
48 | limit = 60 | |
55 | if len(msg) > limit: |
|
49 | if len(msg) > limit: | |
56 | return msg[:limit]+'...' |
|
50 | return msg[:limit]+'...' | |
57 | else: |
|
51 | else: | |
58 | return msg |
|
52 | return msg | |
59 | %> |
|
53 | %> | |
60 | </%def> |
|
54 | </%def> | |
61 | %for cnt,cs in enumerate(c.repo_changesets): |
|
55 | %for cnt,cs in enumerate(c.repo_changesets): | |
62 | <tr class="parity${cnt%2}"> |
|
56 | <tr class="parity${cnt%2}"> | |
63 | <td>${cs._ctx.date()|n,filters.age}</td> |
|
57 | <td>${cs._ctx.date()|n,filters.age}</td> | |
64 | <td>${cs.author|n,filters.person}</td> |
|
58 | <td>${cs.author|n,filters.person}</td> | |
65 | <td>r${cs.revision}</td> |
|
59 | <td>r${cs.revision}</td> | |
66 | <td> |
|
60 | <td> | |
67 | ${h.link_to(message_slug(cs.message), |
|
61 | ${h.link_to(message_slug(cs.message), | |
68 | h.url('changeset_home',repo_name=c.repo_name,revision=cs._short), |
|
62 | h.url('changeset_home',repo_name=c.repo_name,revision=cs._short), | |
69 | title=cs.message)} |
|
63 | title=cs.message)} | |
70 | </td> |
|
64 | </td> | |
71 | <td> |
|
65 | <td> | |
72 | <span class="logtags"> |
|
66 | <span class="logtags"> | |
73 | <span class="branchtag">${cs.branch}</span> |
|
67 | <span class="branchtag">${cs.branch}</span> | |
74 | %for tag in cs.tags: |
|
68 | %for tag in cs.tags: | |
75 | <span class="tagtag">${tag}</span> |
|
69 | <span class="tagtag">${tag}</span> | |
76 | %endfor |
|
70 | %endfor | |
77 | </span> |
|
71 | </span> | |
78 | </td> |
|
72 | </td> | |
79 | <td class="nowrap"> |
|
73 | <td class="nowrap"> | |
80 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))} |
|
74 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))} | |
81 | | |
|
75 | | | |
82 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs._short))} |
|
76 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs._short))} | |
83 | </td> |
|
77 | </td> | |
84 | </tr> |
|
78 | </tr> | |
85 | %endfor |
|
79 | %endfor | |
86 | </table> |
|
80 | </table> | |
87 |
|
81 | |||
88 | <h2>${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}</h2> |
|
82 | <h2>${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}</h2> | |
89 | <table> |
|
83 | <table> | |
90 | %for cnt,tag in enumerate(c.repo_tags): |
|
84 | %for cnt,tag in enumerate(c.repo_tags): | |
91 | <tr class="parity${cnt%2}"> |
|
85 | <tr class="parity${cnt%2}"> | |
92 | <td>${tag._ctx.date()|n,filters.age}</td> |
|
86 | <td>${tag._ctx.date()|n,filters.age}</td> | |
93 | <td> |
|
87 | <td> | |
94 | <span class="logtags"> |
|
88 | <span class="logtags"> | |
95 | <span class="tagtag">${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}</span> |
|
89 | <span class="tagtag">${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}</span> | |
96 | </span> |
|
90 | </span> | |
97 | </td> |
|
91 | </td> | |
98 | <td class="nowrap"> |
|
92 | <td class="nowrap"> | |
99 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))} |
|
93 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))} | |
100 | | |
|
94 | | | |
101 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag._short))} |
|
95 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag._short))} | |
102 | </td> |
|
96 | </td> | |
103 | </tr> |
|
97 | </tr> | |
104 | %endfor |
|
98 | %endfor | |
105 | </table> |
|
99 | </table> | |
106 |
|
100 | |||
107 | <h2>${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}</h2> |
|
101 | <h2>${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}</h2> | |
108 | <table> |
|
102 | <table> | |
109 | %for cnt,branch in enumerate(c.repo_branches): |
|
103 | %for cnt,branch in enumerate(c.repo_branches): | |
110 | <tr class="parity${cnt%2}"> |
|
104 | <tr class="parity${cnt%2}"> | |
111 | <td>${branch._ctx.date()|n,filters.age}</td> |
|
105 | <td>${branch._ctx.date()|n,filters.age}</td> | |
112 | <td> |
|
106 | <td> | |
113 | <span class="logtags"> |
|
107 | <span class="logtags"> | |
114 | <span class="branchtag">${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}</span> |
|
108 | <span class="branchtag">${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}</span> | |
115 | </span> |
|
109 | </span> | |
116 | </td> |
|
110 | </td> | |
117 | <td class="nowrap"> |
|
111 | <td class="nowrap"> | |
118 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))} |
|
112 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))} | |
119 | | |
|
113 | | | |
120 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))} |
|
114 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))} | |
121 | </td> |
|
115 | </td> | |
122 | </tr> |
|
116 | </tr> | |
123 | %endfor |
|
117 | %endfor | |
124 | </table> |
|
118 | </table> | |
125 |
|
119 | |||
126 | </%def> No newline at end of file |
|
120 | </%def> |
@@ -1,47 +1,40 | |||||
1 | <%inherit file="/base/base.html"/> |
|
1 | <%inherit file="/base/base.html"/> | |
2 | <%! |
|
2 | <%! | |
3 | from pylons_app.lib import filters |
|
3 | from pylons_app.lib import filters | |
4 | %> |
|
4 | %> | |
5 | <%def name="title()"> |
|
5 | <%def name="title()"> | |
6 | ${_('Tags')} |
|
6 | ${_('Tags')} | |
7 | </%def> |
|
7 | </%def> | |
8 | <%def name="breadcrumbs()"> |
|
8 | <%def name="breadcrumbs()"> | |
9 | ${h.link_to(u'Home',h.url('/'))} |
|
9 | ${h.link_to(u'Home',h.url('/'))} | |
10 | / |
|
10 | / | |
11 | ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} |
|
11 | ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} | |
12 | / |
|
12 | / | |
13 | ${_('tags')} |
|
13 | ${_('tags')} | |
14 | </%def> |
|
14 | </%def> | |
15 | <%def name="page_nav()"> |
|
15 | <%def name="page_nav()"> | |
16 | <form action="log"> |
|
16 | ${self.menu('tags')} | |
17 | <dl class="search"> |
|
|||
18 | <dt><label>Search: </label></dt> |
|
|||
19 | <dd><input type="text" name="rev" /></dd> |
|
|||
20 | </dl> |
|
|||
21 | </form> |
|
|||
22 |
|
||||
23 | ${self.menu('tags')} |
|
|||
24 | </%def> |
|
17 | </%def> | |
25 | <%def name="main()"> |
|
18 | <%def name="main()"> | |
26 |
|
19 | |||
27 | <h2 class="no-link no-border">${_('Tags')}</h2> |
|
20 | <h2 class="no-link no-border">${_('Tags')}</h2> | |
28 |
|
21 | |||
29 | <table> |
|
22 | <table> | |
30 | %for cnt,tag in enumerate(c.repo_tags): |
|
23 | %for cnt,tag in enumerate(c.repo_tags): | |
31 | <tr class="parity${cnt%2}"> |
|
24 | <tr class="parity${cnt%2}"> | |
32 | <td>${tag._ctx.date()|n,filters.age}</td> |
|
25 | <td>${tag._ctx.date()|n,filters.age}</td> | |
33 | <td> |
|
26 | <td> | |
34 | <span class="logtags"> |
|
27 | <span class="logtags"> | |
35 | <span class="tagtag">${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}</span> |
|
28 | <span class="tagtag">${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}</span> | |
36 | </span> |
|
29 | </span> | |
37 | </td> |
|
30 | </td> | |
38 | <td class="nowrap"> |
|
31 | <td class="nowrap"> | |
39 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))} |
|
32 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))} | |
40 | | |
|
33 | | | |
41 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag._short))} |
|
34 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag._short))} | |
42 | </td> |
|
35 | </td> | |
43 | </tr> |
|
36 | </tr> | |
44 | %endfor |
|
37 | %endfor | |
45 | </table> |
|
38 | </table> | |
46 |
|
39 | |||
47 | </%def> No newline at end of file |
|
40 | </%def> |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now