Mercurial > kallithea
annotate rhodecode/templates/branches/branches_data.html @ 2369:c2f131502037 beta
Autocomplete fixes
- use translation MAP
- move translation to top level in order to be used inside rhodecode.js
- re-use user and groups data in changesets page
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 01 Jun 2012 23:29:41 +0200 |
parents | f91d3f9b7230 |
children | f6cdfc730831 44f328d6f209 |
rev | line source |
---|---|
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
1 %if c.repo_branches: |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1782
diff
changeset
|
2 <div id="table_wrap" class="yui-skin-sam"> |
1782
eaf09acf6872
added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents:
1770
diff
changeset
|
3 <table id="branches_data"> |
eaf09acf6872
added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents:
1770
diff
changeset
|
4 <thead> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
5 <tr> |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
6 <th class="left">${_('name')}</th> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
7 <th class="left">${_('date')}</th> |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
633
diff
changeset
|
8 <th class="left">${_('author')}</th> |
362
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
9 <th class="left">${_('revision')}</th> |
558eb7c5028f
version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents:
282
diff
changeset
|
10 </tr> |
1782
eaf09acf6872
added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents:
1770
diff
changeset
|
11 </thead> |
282
237470e64bb8
switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 %for cnt,branch in enumerate(c.repo_branches.items()): |
237470e64bb8
switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 <tr class="parity${cnt%2}"> |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
633
diff
changeset
|
14 <td> |
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
633
diff
changeset
|
15 <span class="logtags"> |
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
633
diff
changeset
|
16 <span class="branchtag">${h.link_to(branch[0], |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
17 h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1782
diff
changeset
|
18 </span> |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
19 </td> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1782
diff
changeset
|
20 <td><span class="tooltip" title="${h.age(branch[1].date)}">${branch[1].date}</span></td> |
636
ffd07396d315
Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents:
633
diff
changeset
|
21 <td title="${branch[1].author}">${h.person(branch[1].author)}</td> |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
22 <td> |
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
23 <div> |
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
24 <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> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1782
diff
changeset
|
25 </div> |
1656
833f9dec0a06
implemented #44 - branch filtering in changelog, aka branch browser
Marcin Kuzminski <marcin@python-works.com>
parents:
1440
diff
changeset
|
26 </td> |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
27 </tr> |
282
237470e64bb8
switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
28 %endfor |
1440
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
29 % if hasattr(c,'repo_closed_branches') and c.repo_closed_branches: |
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
30 %for cnt,branch in enumerate(c.repo_closed_branches.items()): |
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
31 <tr class="parity${cnt%2}"> |
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
32 <td> |
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
33 <span class="logtags"> |
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
34 <span class="branchtag">${h.link_to(branch[0]+' [closed]', |
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
35 h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1782
diff
changeset
|
36 </span> |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
37 </td> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1782
diff
changeset
|
38 <td><span class="tooltip" title="${h.age(branch[1].date)}">${branch[1].date}</span></td> |
1440
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
39 <td title="${branch[1].author}">${h.person(branch[1].author)}</td> |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
40 <td> |
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
41 <div> |
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
42 <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> |
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
43 </div> |
1440
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
44 </td> |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
45 </tr> |
1440
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
46 %endfor |
1770
184557472f5c
Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents:
1756
diff
changeset
|
47 %endif |
282
237470e64bb8
switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
48 </table> |
1782
eaf09acf6872
added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents:
1770
diff
changeset
|
49 </div> |
282
237470e64bb8
switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
50 %else: |
1440
b074dfa51292
implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents:
904
diff
changeset
|
51 ${_('There are no branches yet')} |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1782
diff
changeset
|
52 %endif |