Show More
@@ -19,7 +19,7 b'' | |||||
19 | ${self.breadcrumbs()} |
|
19 | ${self.breadcrumbs()} | |
20 | <ul class="links"> |
|
20 | <ul class="links"> | |
21 | <li> |
|
21 | <li> | |
22 |
<span>${h.link_to(_(u'ADD |
|
22 | <span>${h.link_to(_(u'ADD REPOSITORY'),h.url('new_repo'))}</span> | |
23 | </li> |
|
23 | </li> | |
24 | </ul> |
|
24 | </ul> | |
25 | </div> |
|
25 | </div> | |
@@ -65,10 +65,7 b'' | |||||
65 | <td>${h.age(repo['last_change'])}</td> |
|
65 | <td>${h.age(repo['last_change'])}</td> | |
66 | <td> |
|
66 | <td> | |
67 | %if repo['rev']>=0: |
|
67 | %if repo['rev']>=0: | |
68 | ${h.link_to('r%s:%s' % (repo['rev'],h.short_id(repo['tip'])), |
|
68 | <div><pre>${h.link_to('r%s:%s' % (repo['rev'],h.short_id(repo['tip'])),h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']),class_="tooltip",title=h.tooltip(repo['last_msg']))}</pre></div> | |
69 | h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']), |
|
|||
70 | class_="tooltip", |
|
|||
71 | title=h.tooltip(repo['last_msg']))} |
|
|||
72 | %else: |
|
69 | %else: | |
73 | ${_('No changesets yet')} |
|
70 | ${_('No changesets yet')} | |
74 | %endif |
|
71 | %endif |
@@ -1,31 +1,27 b'' | |||||
1 | %if c.repo_bookmarks: |
|
1 | %if c.repo_bookmarks: | |
2 | <table> |
|
2 | <table class="table_disp"> | |
3 | <tr> |
|
3 | <tr> | |
4 |
|
|
4 | <th class="left">${_('name')}</th> | |
5 |
|
|
5 | <th class="left">${_('date')}</th> | |
6 |
|
|
6 | <th class="left">${_('author')}</th> | |
7 |
|
|
7 | <th class="left">${_('revision')}</th> | |
8 | <th class="left">${_('links')}</th> |
|
|||
9 | </tr> |
|
8 | </tr> | |
10 | %for cnt,book in enumerate(c.repo_bookmarks.items()): |
|
9 | %for cnt,book in enumerate(c.repo_bookmarks.items()): | |
11 | <tr class="parity${cnt%2}"> |
|
10 | <tr class="parity${cnt%2}"> | |
12 | <td><span class="tooltip" title="${h.age(book[1].date)}"> |
|
|||
13 | ${book[1].date}</span> |
|
|||
14 | </td> |
|
|||
15 | <td> |
|
11 | <td> | |
16 | <span class="logbooks"> |
|
12 | <span class="logbooks"> | |
17 | <span class="bookbook">${h.link_to(book[0], |
|
13 | <span class="bookbook">${h.link_to(book[0], | |
18 |
h.url(' |
|
14 | h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span> | |
19 | </span> |
|
15 | </span> | |
20 |
</td> |
|
16 | </td> | |
|
17 | <td><span class="tooltip" title="${h.age(book[1].date)}">${book[1].date}</span></td> | |||
21 | <td title="${book[1].author}">${h.person(book[1].author)}</td> |
|
18 | <td title="${book[1].author}">${h.person(book[1].author)}</td> | |
22 | <td>r${book[1].revision}:${h.short_id(book[1].raw_id)}</td> |
|
19 | <td> | |
23 | <td class="nowrap"> |
|
20 | <div> | |
24 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-btn xsmall")} |
|
21 | <pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id)}">r${book[1].revision}:${h.short_id(book[1].raw_id)}</a></pre> | |
25 | <span style="color:#515151">|</span> |
|
22 | </div> | |
26 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-btn xsmall")} |
|
23 | </td> | |
27 |
|
|
24 | </tr> | |
28 | </tr> |
|
|||
29 | %endfor |
|
25 | %endfor | |
30 | </table> |
|
26 | </table> | |
31 | %else: |
|
27 | %else: |
@@ -1,52 +1,47 b'' | |||||
1 |
% |
|
1 | %if c.repo_branches: | |
2 | <table class="table_disp"> |
|
2 | <table class="table_disp"> | |
3 | <tr> |
|
3 | <tr> | |
|
4 | <th class="left">${_('name')}</th> | |||
4 | <th class="left">${_('date')}</th> |
|
5 | <th class="left">${_('date')}</th> | |
5 | <th class="left">${_('name')}</th> |
|
|||
6 | <th class="left">${_('author')}</th> |
|
6 | <th class="left">${_('author')}</th> | |
7 | <th class="left">${_('revision')}</th> |
|
7 | <th class="left">${_('revision')}</th> | |
8 | <th class="left">${_('links')}</th> |
|
|||
9 | </tr> |
|
8 | </tr> | |
10 | %for cnt,branch in enumerate(c.repo_branches.items()): |
|
9 | %for cnt,branch in enumerate(c.repo_branches.items()): | |
11 | <tr class="parity${cnt%2}"> |
|
10 | <tr class="parity${cnt%2}"> | |
12 | <td><span class="tooltip" title="${h.age(branch[1].date)}">${branch[1].date}</span> |
|
|||
13 | </td> |
|
|||
14 | <td> |
|
11 | <td> | |
15 | <span class="logtags"> |
|
12 | <span class="logtags"> | |
16 | <span class="branchtag">${h.link_to(branch[0], |
|
13 | <span class="branchtag">${h.link_to(branch[0], | |
17 |
h.url(' |
|
14 | h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span> | |
18 | </span> |
|
15 | </span> | |
19 |
</td> |
|
16 | </td> | |
|
17 | <td><span class="tooltip" title="${h.age(branch[1].date)}">${branch[1].date}</span></td> | |||
20 | <td title="${branch[1].author}">${h.person(branch[1].author)}</td> |
|
18 | <td title="${branch[1].author}">${h.person(branch[1].author)}</td> | |
21 | <td>r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</td> |
|
19 | <td> | |
22 | <td class="nowrap"> |
|
20 | <div> | |
23 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-btn xsmall")} |
|
21 | <pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id)}">r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</a></pre> | |
24 | <span style="color:#515151">|</span> |
|
22 | </div> | |
25 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-btn xsmall")} |
|
|||
26 | </td> |
|
23 | </td> | |
27 |
</tr> |
|
24 | </tr> | |
28 | %endfor |
|
25 | %endfor | |
29 | % if hasattr(c,'repo_closed_branches') and c.repo_closed_branches: |
|
26 | % if hasattr(c,'repo_closed_branches') and c.repo_closed_branches: | |
30 | %for cnt,branch in enumerate(c.repo_closed_branches.items()): |
|
27 | %for cnt,branch in enumerate(c.repo_closed_branches.items()): | |
31 | <tr class="parity${cnt%2}"> |
|
28 | <tr class="parity${cnt%2}"> | |
32 | <td><span class="tooltip" title="${h.age(branch[1].date)}">${branch[1].date}</span> |
|
|||
33 | </td> |
|
|||
34 | <td> |
|
29 | <td> | |
35 | <span class="logtags"> |
|
30 | <span class="logtags"> | |
36 | <span class="branchtag">${h.link_to(branch[0]+' [closed]', |
|
31 | <span class="branchtag">${h.link_to(branch[0]+' [closed]', | |
37 | h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span> |
|
32 | h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span> | |
38 | </span> |
|
33 | </span> | |
39 |
</td> |
|
34 | </td> | |
|
35 | <td><span class="tooltip" title="${h.age(branch[1].date)}">${branch[1].date}</span></td> | |||
40 | <td title="${branch[1].author}">${h.person(branch[1].author)}</td> |
|
36 | <td title="${branch[1].author}">${h.person(branch[1].author)}</td> | |
41 | <td>r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</td> |
|
37 | <td> | |
42 |
< |
|
38 | <div> | |
43 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-btn xsmall")} |
|
39 | <pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id)}">r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</a></pre> | |
44 | <span style="color:#515151">|</span> |
|
40 | </div> | |
45 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-btn xsmall")} |
|
|||
46 | </td> |
|
41 | </td> | |
47 |
</tr> |
|
42 | </tr> | |
48 | %endfor |
|
43 | %endfor | |
49 |
%endif |
|
44 | %endif | |
50 | </table> |
|
45 | </table> | |
51 | %else: |
|
46 | %else: | |
52 | ${_('There are no branches yet')} |
|
47 | ${_('There are no branches yet')} |
@@ -84,8 +84,9 b'' | |||||
84 | </td> |
|
84 | </td> | |
85 | <td> |
|
85 | <td> | |
86 | %if node.is_file(): |
|
86 | %if node.is_file(): | |
87 |
< |
|
87 | <div class="tooltip" title="${node.last_changeset.message}"> | |
88 |
${'r%s:%s' % (node.last_changeset.revision,node.last_changeset.short_id)}</ |
|
88 | <pre>${'r%s:%s' % (node.last_changeset.revision,node.last_changeset.short_id)}</pre> | |
|
89 | </div> | |||
89 | %endif |
|
90 | %endif | |
90 | </td> |
|
91 | </td> | |
91 | <td> |
|
92 | <td> |
@@ -17,7 +17,7 b'' | |||||
17 | <div class="code-header"> |
|
17 | <div class="code-header"> | |
18 | <div class="stats"> |
|
18 | <div class="stats"> | |
19 | <div class="left"><img src="${h.url('/images/icons/file.png')}"/></div> |
|
19 | <div class="left"><img src="${h.url('/images/icons/file.png')}"/></div> | |
20 | <div class="left item">${h.link_to("r%s:%s" % (c.file.last_changeset.revision,h.short_id(c.file.last_changeset.raw_id)),h.url('changeset_home',repo_name=c.repo_name,revision=c.file.last_changeset.raw_id))}</div> |
|
20 | <div class="left item"><pre>${h.link_to("r%s:%s" % (c.file.last_changeset.revision,h.short_id(c.file.last_changeset.raw_id)),h.url('changeset_home',repo_name=c.repo_name,revision=c.file.last_changeset.raw_id))}</pre></div> | |
21 | <div class="left item">${h.format_byte_size(c.file.size,binary=True)}</div> |
|
21 | <div class="left item">${h.format_byte_size(c.file.size,binary=True)}</div> | |
22 | <div class="left item last">${c.file.mimetype}</div> |
|
22 | <div class="left item last">${c.file.mimetype}</div> | |
23 | <div class="buttons"> |
|
23 | <div class="buttons"> |
@@ -9,7 +9,7 b'' | |||||
9 | %if h.HasPermissionAny('hg.admin','hg.create.repository')(): |
|
9 | %if h.HasPermissionAny('hg.admin','hg.create.repository')(): | |
10 | <ul class="links"> |
|
10 | <ul class="links"> | |
11 | <li> |
|
11 | <li> | |
12 |
<span>${h.link_to(_('ADD |
|
12 | <span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}</span> | |
13 | </li> |
|
13 | </li> | |
14 | </ul> |
|
14 | </ul> | |
15 | %endif |
|
15 | %endif | |
@@ -139,11 +139,13 b'' | |||||
139 | ${h.age(repo['last_change'])}</span> |
|
139 | ${h.age(repo['last_change'])}</span> | |
140 | </td> |
|
140 | </td> | |
141 | <td> |
|
141 | <td> | |
|
142 | <div> | |||
142 | %if repo['rev']>=0: |
|
143 | %if repo['rev']>=0: | |
143 | <a title="${h.tooltip('%s\n%s' % (repo['author'],repo['last_msg']))}" class="tooltip" href="${h.url('changeset_home',repo_name=repo['name'],revision=repo['tip'])}">${'r%s:%s' % (repo['rev'],h.short_id(repo['tip']))}</a> |
|
144 | <pre><a title="${h.tooltip('%s\n%s' % (repo['author'],repo['last_msg']))}" class="tooltip" href="${h.url('changeset_home',repo_name=repo['name'],revision=repo['tip'])}">${'r%s:%s' % (repo['rev'],h.short_id(repo['tip']))}</a></pre> | |
144 | %else: |
|
145 | %else: | |
145 | ${_('No changesets yet')} |
|
146 | ${_('No changesets yet')} | |
146 |
%endif |
|
147 | %endif | |
|
148 | </div> | |||
147 | </td> |
|
149 | </td> | |
148 | <td title="${repo['contact']}">${h.person(repo['contact'])}</td> |
|
150 | <td title="${repo['contact']}">${h.person(repo['contact'])}</td> | |
149 | <td> |
|
151 | <td> |
@@ -29,12 +29,12 b'' | |||||
29 | <div class="title"> |
|
29 | <div class="title"> | |
30 | <h5> |
|
30 | <h5> | |
31 | <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> |
|
31 | <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> | |
32 |
<a id="show_my" class="link-white" href="#my">${_('My repos |
|
32 | <a id="show_my" class="link-white" href="#my">${_('My repos')}</a> / <a id="show_watched" class="link-white" href="#watched">${_('Watched')}</a> | |
33 | </h5> |
|
33 | </h5> | |
34 | %if h.HasPermissionAny('hg.admin','hg.create.repository')(): |
|
34 | %if h.HasPermissionAny('hg.admin','hg.create.repository')(): | |
35 | <ul class="links"> |
|
35 | <ul class="links"> | |
36 | <li> |
|
36 | <li> | |
37 |
<span>${h.link_to(_('ADD |
|
37 | <span>${h.link_to(_('ADD'),h.url('admin_settings_create_repository'))}</span> | |
38 | </li> |
|
38 | </li> | |
39 | </ul> |
|
39 | </ul> | |
40 | %endif |
|
40 | %endif | |
@@ -74,7 +74,7 b'' | |||||
74 | src="${h.url('/images/icons/arrow_divide.png')}"/></a> |
|
74 | src="${h.url('/images/icons/arrow_divide.png')}"/></a> | |
75 | %endif |
|
75 | %endif | |
76 | </td> |
|
76 | </td> | |
77 |
<td>< |
|
77 | <td><div class="tooltip" title="${repo['last_change']}"><pre>${("r%s:%s") % (repo['rev'],h.short_id(repo['tip']))}</pre></div></td> | |
78 | <td><a href="${h.url('repo_settings_home',repo_name=repo['name'])}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="${h.url('/images/icons/application_form_edit.png')}"/></a></td> |
|
78 | <td><a href="${h.url('repo_settings_home',repo_name=repo['name'])}" title="${_('edit')}"><img class="icon" alt="${_('private')}" src="${h.url('/images/icons/application_form_edit.png')}"/></a></td> | |
79 | <td> |
|
79 | <td> | |
80 | ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')} |
|
80 | ${h.form(url('repo_settings_delete', repo_name=repo['name']),method='delete')} |
@@ -1,6 +1,6 b'' | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 | %if c.repo_changesets: |
|
2 | %if c.repo_changesets: | |
3 | <table> |
|
3 | <table class="table_disp"> | |
4 | <tr> |
|
4 | <tr> | |
5 | <th class="left">${_('commit message')}</th> |
|
5 | <th class="left">${_('commit message')}</th> | |
6 | <th class="left">${_('age')}</th> |
|
6 | <th class="left">${_('age')}</th> | |
@@ -20,7 +20,7 b'' | |||||
20 | ${h.age(cs.date)}</span> |
|
20 | ${h.age(cs.date)}</span> | |
21 | </td> |
|
21 | </td> | |
22 | <td title="${cs.author}">${h.person(cs.author)}</td> |
|
22 | <td title="${cs.author}">${h.person(cs.author)}</td> | |
23 | <td><a href="${h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id)}">r${cs.revision}:${h.short_id(cs.raw_id)}</a></td> |
|
23 | <td><div><pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id)}">r${cs.revision}:${h.short_id(cs.raw_id)}</a></pre></div></td> | |
24 | <td> |
|
24 | <td> | |
25 | <span class="logtags"> |
|
25 | <span class="logtags"> | |
26 | <span class="branchtag">${cs.branch}</span> |
|
26 | <span class="branchtag">${cs.branch}</span> |
@@ -4,7 +4,7 b'' | |||||
4 | <ul> |
|
4 | <ul> | |
5 | %if c.rhodecode_repo.branches.values(): |
|
5 | %if c.rhodecode_repo.branches.values(): | |
6 | %for cnt,branch in enumerate(c.rhodecode_repo.branches.items()): |
|
6 | %for cnt,branch in enumerate(c.rhodecode_repo.branches.items()): | |
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> |
|
7 | <li><div><pre>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=branch[1]))}</pre></div></li> | |
8 | %endfor |
|
8 | %endfor | |
9 | %else: |
|
9 | %else: | |
10 | <li>${h.link_to(_('There are no branches yet'),'#')}</li> |
|
10 | <li>${h.link_to(_('There are no branches yet'),'#')}</li> | |
@@ -16,7 +16,7 b'' | |||||
16 | <ul> |
|
16 | <ul> | |
17 | %if c.rhodecode_repo.tags.values(): |
|
17 | %if c.rhodecode_repo.tags.values(): | |
18 | %for cnt,tag in enumerate(c.rhodecode_repo.tags.items()): |
|
18 | %for cnt,tag in enumerate(c.rhodecode_repo.tags.items()): | |
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> |
|
19 | <li><div><pre>${h.link_to('%s - %s' % (tag[0],h.short_id(tag[1])),h.url('files_home',repo_name=c.repo_name,revision=tag[1]))}</pre></div></li> | |
20 | %endfor |
|
20 | %endfor | |
21 | %else: |
|
21 | %else: | |
22 | <li>${h.link_to(_('There are no tags yet'),'#')}</li> |
|
22 | <li>${h.link_to(_('There are no tags yet'),'#')}</li> | |
@@ -29,7 +29,7 b'' | |||||
29 | <ul> |
|
29 | <ul> | |
30 | %if c.rhodecode_repo.bookmarks.values(): |
|
30 | %if c.rhodecode_repo.bookmarks.values(): | |
31 | %for cnt,book in enumerate(c.rhodecode_repo.bookmarks.items()): |
|
31 | %for cnt,book in enumerate(c.rhodecode_repo.bookmarks.items()): | |
32 | <li>${h.link_to('%s - %s' % (book[0],h.short_id(book[1])),h.url('files_home',repo_name=c.repo_name,revision=book[1]))}</li> |
|
32 | <li><div><pre>${h.link_to('%s - %s' % (book[0],h.short_id(book[1])),h.url('files_home',repo_name=c.repo_name,revision=book[1]))}</pre></div></li> | |
33 | %endfor |
|
33 | %endfor | |
34 | %else: |
|
34 | %else: | |
35 | <li>${h.link_to(_('There are no bookmarks yet'),'#')}</li> |
|
35 | <li>${h.link_to(_('There are no bookmarks yet'),'#')}</li> |
@@ -1,30 +1,27 b'' | |||||
1 | %if c.repo_tags: |
|
1 | %if c.repo_tags: | |
2 | <table> |
|
2 | <table class="table_disp"> | |
3 | <tr> |
|
3 | <tr> | |
4 |
|
|
4 | <th class="left">${_('name')}</th> | |
5 |
|
|
5 | <th class="left">${_('date')}</th> | |
6 |
|
|
6 | <th class="left">${_('author')}</th> | |
7 |
|
|
7 | <th class="left">${_('revision')}</th> | |
8 | <th class="left">${_('links')}</th> |
|
|||
9 | </tr> |
|
8 | </tr> | |
10 | %for cnt,tag in enumerate(c.repo_tags.items()): |
|
9 | %for cnt,tag in enumerate(c.repo_tags.items()): | |
11 | <tr class="parity${cnt%2}"> |
|
10 | <tr class="parity${cnt%2}"> | |
12 | <td><span class="tooltip" title="${h.age(tag[1].date)}"> |
|
|||
13 | ${tag[1].date}</span> |
|
|||
14 | </td> |
|
|||
15 | <td> |
|
11 | <td> | |
16 | <span class="logtags"> |
|
12 | <span class="logtags"> | |
17 | <span class="tagtag">${h.link_to(tag[0], |
|
13 | <span class="tagtag">${h.link_to(tag[0], | |
18 |
h.url(' |
|
14 | h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id))} | |
|
15 | </span> | |||
19 | </span> |
|
16 | </span> | |
20 |
</td> |
|
17 | </td> | |
|
18 | <td><span class="tooltip" title="${h.age(tag[1].date)}">${tag[1].date}</span></td> | |||
21 | <td title="${tag[1].author}">${h.person(tag[1].author)}</td> |
|
19 | <td title="${tag[1].author}">${h.person(tag[1].author)}</td> | |
22 | <td>r${tag[1].revision}:${h.short_id(tag[1].raw_id)}</td> |
|
20 | <td> | |
23 | <td class="nowrap"> |
|
21 | <div> | |
24 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id),class_="ui-btn xsmall")} |
|
22 | <pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id)}">r${tag[1].revision}:${h.short_id(tag[1].raw_id)}</a></pre> | |
25 | <span style="color:#515151">|</span> |
|
23 | </div> | |
26 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id),class_="ui-btn xsmall")} |
|
24 | </td> | |
27 | </td> |
|
|||
28 | </tr> |
|
25 | </tr> | |
29 | %endfor |
|
26 | %endfor | |
30 | </table> |
|
27 | </table> |
General Comments 0
You need to be logged in to leave comments.
Login now