annotate rhodecode/templates/branches/branches_data.html @ 3151:58a4004224a2 beta

fixes issue #710 File view stripping empty lines from begininng and end of the file. Fixed by setting default Pygment lexer option to not do that
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 05 Jan 2013 03:30:24 +0100
parents bf96fd1920c1
children b4f401524060
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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>
3010
bf96fd1920c1 Enabled compare engine for tags
Marcin Kuzminski <marcin@python-works.com>
parents: 2430
diff changeset
6 <th class="left">${_('Name')}</th>
bf96fd1920c1 Enabled compare engine for tags
Marcin Kuzminski <marcin@python-works.com>
parents: 2430
diff changeset
7 <th class="left">${_('Date')}</th>
bf96fd1920c1 Enabled compare engine for tags
Marcin Kuzminski <marcin@python-works.com>
parents: 2430
diff changeset
8 <th class="left">${_('Author')}</th>
bf96fd1920c1 Enabled compare engine for tags
Marcin Kuzminski <marcin@python-works.com>
parents: 2430
diff changeset
9 <th class="left">${_('Revision')}</th>
bf96fd1920c1 Enabled compare engine for tags
Marcin Kuzminski <marcin@python-works.com>
parents: 2430
diff changeset
10 <th class="left">${_('Compare')}</th>
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 282
diff changeset
11 </tr>
1782
eaf09acf6872 added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
12 </thead>
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
13 %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
14 <tr class="parity${cnt%2}">
636
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
15 <td>
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
16 <span class="logtags">
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
17 <span class="branchtag">${h.link_to(branch[0],
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
18 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
19 </span>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
20 </td>
2427
f467c75544af Added h.tooltip to all places that tooltip_title is used.
Marcin Kuzminski <marcin@python-works.com>
parents: 2416
diff changeset
21 <td><span class="tooltip" title="${h.tooltip(h.age(branch[1].date))}">${h.fmt_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
22 <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
23 <td>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
24 <div>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
25 <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
26 </div>
1656
833f9dec0a06 implemented #44 - branch filtering in changelog, aka branch browser
Marcin Kuzminski <marcin@python-works.com>
parents: 1440
diff changeset
27 </td>
2243
f6cdfc730831 Added compare buttons into branch views
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
28 <td>
f6cdfc730831 Added compare buttons into branch views
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
29 <input class="branch-compare" type="radio" name="compare_org" value="${branch[0]}"/>
f6cdfc730831 Added compare buttons into branch views
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
30 <input class="branch-compare" type="radio" name="compare_other" value="${branch[0]}"/>
f6cdfc730831 Added compare buttons into branch views
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
31 </td>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
32 </tr>
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
33 %endfor
1440
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
34 % 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
35 %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
36 <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
37 <td>
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
38 <span class="logtags">
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
39 <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
40 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
41 </span>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
42 </td>
2427
f467c75544af Added h.tooltip to all places that tooltip_title is used.
Marcin Kuzminski <marcin@python-works.com>
parents: 2416
diff changeset
43 <td><span class="tooltip" title="${h.tooltip(h.age(branch[1].date))}">${h.fmt_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
44 <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
45 <td>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
46 <div>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
47 <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
48 </div>
1440
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
49 </td>
2243
f6cdfc730831 Added compare buttons into branch views
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
50 <td></td>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
51 </tr>
1440
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
52 %endfor
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
53 %endif
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
54 </table>
1782
eaf09acf6872 added sorting to bookmarks tags and branches
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
55 </div>
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
56 %else:
1440
b074dfa51292 implements #195 added closed branches to detailed branches view
Marcin Kuzminski <marcin@python-works.com>
parents: 904
diff changeset
57 ${_('There are no branches yet')}
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1782
diff changeset
58 %endif