annotate rhodecode/templates/branches/branches_data.html @ 1723:64e91067b996 beta

- refactoring to overcome poor usage of global pylons config - db transaction fixes - fixed tests - garden
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 26 Nov 2011 02:16:21 +0200
parents 07c8838ebfd3
children 60a00fd76d58
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 % if c.repo_branches:
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <table class="table_disp">
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 282
diff changeset
3 <tr>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 282
diff changeset
4 <th class="left">${_('date')}</th>
636
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
5 <th class="left">${_('name')}</th>
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
6 <th class="left">${_('author')}</th>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 282
diff changeset
7 <th class="left">${_('revision')}</th>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 282
diff changeset
8 <th class="left">${_('links')}</th>
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 282
diff changeset
9 </tr>
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10 %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
11 <tr class="parity${cnt%2}">
1440
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
12 <td><span class="tooltip" title="${h.age(branch[1].date)}">${branch[1].date}</span>
799
6d37fe113da0 fixes to #85, some other small changes for summary page
Marcin Kuzminski <marcin@python-works.com>
parents: 636
diff changeset
13 </td>
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],
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
17 h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span>
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
18 </span>
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
19 </td>
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
20 <td title="${branch[1].author}">${h.person(branch[1].author)}</td>
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
21 <td>r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</td>
1656
833f9dec0a06 implemented #44 - branch filtering in changelog, aka branch browser
Marcin Kuzminski <marcin@python-works.com>
parents: 1440
diff changeset
22 <td class="nowrap">
1706
07c8838ebfd3 ui fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 1656
diff changeset
23 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-button-small xsmall")}
1656
833f9dec0a06 implemented #44 - branch filtering in changelog, aka branch browser
Marcin Kuzminski <marcin@python-works.com>
parents: 1440
diff changeset
24 <span style="color:#515151">|</span>
1706
07c8838ebfd3 ui fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 1656
diff changeset
25 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-button-small xsmall")}
1656
833f9dec0a06 implemented #44 - branch filtering in changelog, aka branch browser
Marcin Kuzminski <marcin@python-works.com>
parents: 1440
diff changeset
26 </td>
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27 </tr>
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><span class="tooltip" title="${h.age(branch[1].date)}">${branch[1].date}</span>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
33 </td>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
34 <td>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
35 <span class="logtags">
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
36 <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
37 h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
38 </span>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
39 </td>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
40 <td title="${branch[1].author}">${h.person(branch[1].author)}</td>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
41 <td>r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</td>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
42 <td class="nowrap">
1706
07c8838ebfd3 ui fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 1656
diff changeset
43 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-button-small xsmall")}
1656
833f9dec0a06 implemented #44 - branch filtering in changelog, aka branch browser
Marcin Kuzminski <marcin@python-works.com>
parents: 1440
diff changeset
44 <span style="color:#515151">|</span>
1706
07c8838ebfd3 ui fixes
Marcin Kuzminski <marcin@python-works.com>
parents: 1656
diff changeset
45 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id),class_="ui-button-small xsmall")}
1440
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
46 </td>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
47 </tr>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
48 %endfor
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
49 %endif
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
50 </table>
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
51 %else:
1440
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
52 ${_('There are no branches yet')}
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
53 %endif