Show More
@@ -1,85 +1,85 b'' | |||||
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('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 | ${_('summary')} |
|
11 | ${_('summary')} | |
12 | </%def> |
|
12 | </%def> | |
13 | <%def name="page_nav()"> |
|
13 | <%def name="page_nav()"> | |
14 | <form action="{url}log"> |
|
14 | <form action="{url}log"> | |
15 | {sessionvars%hiddenformentry} |
|
15 | {sessionvars%hiddenformentry} | |
16 | <dl class="search"> |
|
16 | <dl class="search"> | |
17 | <dt><label>Search: </label></dt> |
|
17 | <dt><label>Search: </label></dt> | |
18 | <dd><input type="text" name="rev" /></dd> |
|
18 | <dd><input type="text" name="rev" /></dd> | |
19 | </dl> |
|
19 | </dl> | |
20 | </form> |
|
20 | </form> | |
21 |
|
21 | |||
22 | <ul class="page-nav"> |
|
22 | <ul class="page-nav"> | |
23 | <li class="current">summary</li> |
|
23 | <li class="current">summary</li> | |
24 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> |
|
24 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> | |
25 | <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> |
|
25 | <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> | |
26 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
|
26 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
27 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
27 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
28 | <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> |
|
28 | <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> | |
29 | <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> |
|
29 | <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> | |
30 | </ul> |
|
30 | </ul> | |
31 | </%def> |
|
31 | </%def> | |
32 | <%def name="main()"> |
|
32 | <%def name="main()"> | |
33 |
|
33 | |||
34 | <h2 class="no-link no-border">${_('Mercurial Repository Overview')}</h2> |
|
34 | <h2 class="no-link no-border">${_('Mercurial Repository Overview')}</h2> | |
35 | <dl class="overview"> |
|
35 | <dl class="overview"> | |
36 | <dt>name</dt> |
|
36 | <dt>name</dt> | |
37 | <dd>${c.repo_info.name}</dd> |
|
37 | <dd>${c.repo_info.name}</dd> | |
38 | <dt>description</dt> |
|
38 | <dt>description</dt> | |
39 | <dd>${c.repo_info.description}</dd> |
|
39 | <dd>${c.repo_info.description}</dd> | |
40 | <dt>contact</dt> |
|
40 | <dt>contact</dt> | |
41 | <dd>${c.repo_info.contact}</dd> |
|
41 | <dd>${c.repo_info.contact}</dd> | |
42 | <dt>last change</dt> |
|
42 | <dt>last change</dt> | |
43 |
<dd>${c.repo_info.last_change|n,self.f. |
|
43 | <dd>${c.repo_info.last_change|n,self.f.rfc822date} - ${c.repo_info.last_change|n,self.f.age}</dd> | |
44 | </dl> |
|
44 | </dl> | |
45 |
|
45 | |||
46 | <h2><a href="{url}shortlog{sessionvars%urlparameter}">Changes</a></h2> |
|
46 | <h2><a href="{url}shortlog{sessionvars%urlparameter}">Changes</a></h2> | |
47 | <table> |
|
47 | <table> | |
48 | %for cnt,cs in enumerate(c.repo_changesets): |
|
48 | %for cnt,cs in enumerate(c.repo_changesets): | |
49 | <tr class="parity${cnt%2}"> |
|
49 | <tr class="parity${cnt%2}"> | |
50 |
<td>${cs._ctx.date()|n,self.f. |
|
50 | <td>${cs._ctx.date()|n,self.f.age}</td> | |
51 | <td>${cs.author}</td> |
|
51 | <td>${cs.author}</td> | |
52 | <td>${h.link_to(cs.message,h.url('rev/'+str(cs._ctx)))}</td> |
|
52 | <td>${h.link_to(cs.message,h.url('rev/'+str(cs._ctx)))}</td> | |
53 | <td class="nowrap"> |
|
53 | <td class="nowrap"> | |
54 | ${h.link_to(_('changeset'),h.url('file/'+str(cs._ctx)))} |
|
54 | ${h.link_to(_('changeset'),h.url('file/'+str(cs._ctx)))} | |
55 | | |
|
55 | | | |
56 | ${h.link_to(_('files'),h.url('file/'+str(cs._ctx)))} |
|
56 | ${h.link_to(_('files'),h.url('file/'+str(cs._ctx)))} | |
57 | </td> |
|
57 | </td> | |
58 | </tr> |
|
58 | </tr> | |
59 | %endfor |
|
59 | %endfor | |
60 | <tr class="light"> |
|
60 | <tr class="light"> | |
61 | <td colspan="4"><a class="list" href="{url}shortlog{sessionvars%urlparameter}">...</a></td> |
|
61 | <td colspan="4"><a class="list" href="{url}shortlog{sessionvars%urlparameter}">...</a></td> | |
62 | </tr> |
|
62 | </tr> | |
63 | </table> |
|
63 | </table> | |
64 |
|
64 | |||
65 | <h2><a href="{url}tags{sessionvars%urlparameter}">${_('Tags')}</a></h2> |
|
65 | <h2><a href="{url}tags{sessionvars%urlparameter}">${_('Tags')}</a></h2> | |
66 | <table> |
|
66 | <table> | |
67 | %for tag in c.repo_tags: |
|
67 | %for tag in c.repo_tags: | |
68 | ${tag} |
|
68 | ${tag} | |
69 | %endfor |
|
69 | %endfor | |
70 | <tr class="light"> |
|
70 | <tr class="light"> | |
71 | <td colspan="3"><a class="list" href="{url}tags{sessionvars%urlparameter}">...</a></td> |
|
71 | <td colspan="3"><a class="list" href="{url}tags{sessionvars%urlparameter}">...</a></td> | |
72 | </tr> |
|
72 | </tr> | |
73 | </table> |
|
73 | </table> | |
74 |
|
74 | |||
75 | <h2 class="no-link">Branches</h2> |
|
75 | <h2 class="no-link">Branches</h2> | |
76 | <table> |
|
76 | <table> | |
77 | %for branch in c.repo_branches: |
|
77 | %for branch in c.repo_branches: | |
78 | ${branch} |
|
78 | ${branch} | |
79 | %endfor |
|
79 | %endfor | |
80 | <tr class="light"> |
|
80 | <tr class="light"> | |
81 | <td colspan="4"><a class="list" href="#">...</a></td> |
|
81 | <td colspan="4"><a class="list" href="#">...</a></td> | |
82 | </tr> |
|
82 | </tr> | |
83 | </table> |
|
83 | </table> | |
84 |
|
84 | |||
85 | </%def> No newline at end of file |
|
85 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now