annotate rhodecode/templates/changeset/changeset_range.html @ 4117:6af3e67cc576 rhodecode-2.2.5-gpl

Add Twitter's Bootstrap 3.0.0 CSS and Javascript files, under Apache License 2.0 These files are exactly as they appear the upstream release 3.0.0 of Bootstrap, which Twitter released under the Apache License 2.0. To extract these files, I did the following: I downloaded the following file: https://github.com/twbs/bootstrap/archive/v3.0.0.zip with sha256sum of: $ sha256sum v3.0.0.zip 2d54f345f4abc6bf65ea648c323e9bae577e6febf755650e62555f2d7a222e17 v3.0.0.zip And extracted from it these two files: bootstrap-3.0.0/dist/css/bootstrap.css bootstrap-3.0.0/dist/js/bootstrap.js which are licensed under the Apache License 2.0. and placed them into: rhodecode/public/css/bootstrap.css rhodecode/public/js/bootstrap.js respectively.
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:03:14 -0400
parents ffd45b185016
children 8d1125a40973
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1787
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
1 ## -*- coding: utf-8 -*-
977
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <%inherit file="/base/base.html"/>
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 <%def name="title()">
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
5 ${_('%s Changesets') % c.repo_name} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} &gt; r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)}
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
6 %if c.rhodecode_name:
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
7 &middot; ${c.rhodecode_name}
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
8 %endif
977
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 </%def>
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
11 <%def name="breadcrumbs_links()">
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
12 ${_('Changesets')} -
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
13 r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)}
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
14 <i class="icon-arrow-right"></i>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
15 r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)}
977
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 </%def>
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
17
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 <%def name="page_nav()">
3603
eacd33e0c5b3 use valid options for the top menu: repositories, journal, search and admin
Mads Kiilerich <madski@unity3d.com>
parents: 3602
diff changeset
19 ${self.menu('repositories')}
977
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
20 </%def>
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
21
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
22 <%def name="main()">
3988
072a37c44f58 templates: drop context_bar, use repo_context_bar directly
Mads Kiilerich <madski@unity3d.com>
parents: 3960
diff changeset
23 ${self.repo_context_bar('changelog')}
977
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
24 <div class="box">
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
25 <!-- box / title -->
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
26 <div class="title">
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27 ${self.breadcrumbs()}
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
28 </div>
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
29 <div class="table">
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
30 <div id="body" class="diffblock">
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
31 <div class="code-header" style="height: 26px">
1688
82e604d3fc46 changeset ranges use new fileid method.
Marcin Kuzminski <marcin@python-works.com>
parents: 1602
diff changeset
32 <div>
4116
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
33 r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)}
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
34 <i class="icon-arrow-right"></i>
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
35 r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)}
ffd45b185016 Imported some of the GPLv3'd changes from RhodeCode v2.2.5.
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents: 4051
diff changeset
36 <a style="font-weight: bold" href="${h.url('compare_url',repo_name=c.repo_name,org_ref_type='rev',org_ref=getattr(c.cs_ranges[0].parents[0] if c.cs_ranges[0].parents else h.EmptyChangeset(),'raw_id'),other_ref_type='rev',other_ref=c.cs_ranges[-1].raw_id)}" class="btn btn-small"><i class="icon-loop"></i> Compare Revisions</a>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
37 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
38 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
39 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
40 <div id="changeset_compare_view_content">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
41 <div class="container">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
42 <table class="compare_view_commits noborder">
2240
87664e60bbc0 added changeset status into changeset range
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
43 %for cnt,cs in enumerate(c.cs_ranges):
1010
643e4a540ddd added nicer compare view
Marcin Kuzminski <marcin@python-works.com>
parents: 982
diff changeset
44 <tr>
2732
c25cc1c7c65f again #531 forgot to replace other occurences of h.email call
Marcin Kuzminski <marcin@python-works.com>
parents: 2673
diff changeset
45 <td><div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),14)}"/></div></td>
1010
643e4a540ddd added nicer compare view
Marcin Kuzminski <marcin@python-works.com>
parents: 982
diff changeset
46 <td>${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</td>
643e4a540ddd added nicer compare view
Marcin Kuzminski <marcin@python-works.com>
parents: 982
diff changeset
47 <td><div class="author">${h.person(cs.author)}</div></td>
643e4a540ddd added nicer compare view
Marcin Kuzminski <marcin@python-works.com>
parents: 982
diff changeset
48 <td><span class="tooltip" title="${h.age(cs.date)}">${cs.date}</span></td>
2240
87664e60bbc0 added changeset status into changeset range
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
49 <td>
87664e60bbc0 added changeset status into changeset range
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
50 %if c.statuses:
2430
9f37281195a2 merge with beta
Marcin Kuzminski <marcin@python-works.com>
parents: 2240 2427
diff changeset
51 <div title="${h.tooltip(_('Changeset status'))}" class="changeset-status-ico"><img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses[cnt])}" /></div>
2240
87664e60bbc0 added changeset status into changeset range
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
52 %endif
87664e60bbc0 added changeset status into changeset range
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
53 </td>
1868
f26acc1b27e2 added repository name into issue tracker link to support different projects issues tracker mapping
Marcin Kuzminski <marcin@python-works.com>
parents: 1844
diff changeset
54 <td><div class="message">${h.urlify_commit(h.wrap_paragraphs(cs.message),c.repo_name)}</div></td>
1010
643e4a540ddd added nicer compare view
Marcin Kuzminski <marcin@python-works.com>
parents: 982
diff changeset
55 </tr>
643e4a540ddd added nicer compare view
Marcin Kuzminski <marcin@python-works.com>
parents: 982
diff changeset
56 %endfor
643e4a540ddd added nicer compare view
Marcin Kuzminski <marcin@python-works.com>
parents: 982
diff changeset
57 </table>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
58 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
59 <div style="font-size:1.1em;font-weight: bold;clear:both;padding-top:10px">${_('Files affected')}</div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
60 <div class="cs_files">
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
61 %for cs in c.cs_ranges:
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
62 <div class="cur_cs">${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
63 %for FID, (cs1, cs2, change, path, diff, stats) in c.changes[cs.raw_id].iteritems():
3822
b86229c66c67 added fancy file stats to changeset range view
Marcin Kuzminski <marcin@python-works.com>
parents: 3727
diff changeset
64 <div class="cs_${change}">
b86229c66c67 added fancy file stats to changeset range view
Marcin Kuzminski <marcin@python-works.com>
parents: 3727
diff changeset
65 <div class="node">
b86229c66c67 added fancy file stats to changeset range view
Marcin Kuzminski <marcin@python-works.com>
parents: 3727
diff changeset
66 ${h.link_to(h.safe_unicode(path),h.url.current(anchor=FID))}
b86229c66c67 added fancy file stats to changeset range view
Marcin Kuzminski <marcin@python-works.com>
parents: 3727
diff changeset
67 </div>
b86229c66c67 added fancy file stats to changeset range view
Marcin Kuzminski <marcin@python-works.com>
parents: 3727
diff changeset
68 <div class="changes">${h.fancy_file_stats(stats)}</div>
b86229c66c67 added fancy file stats to changeset range view
Marcin Kuzminski <marcin@python-works.com>
parents: 3727
diff changeset
69 </div>
3197
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
70 %endfor
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
71 %endfor
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
72 </div>
b4f401524060 html: don't use tabs
Mads Kiilerich <madski@unity3d.com>
parents: 3015
diff changeset
73 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1868
diff changeset
74
977
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
75 </div>
1787
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
76 <%namespace name="comment" file="/changeset/changeset_file_comment.html"/>
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
77 <%namespace name="diff_block" file="/changeset/diff_block.html"/>
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
78 %for cs in c.cs_ranges:
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1868
diff changeset
79 ##${comment.comment_inline_form(cs)}
1787
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
80 ## diff block
2926
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
81 <div class="h3">
2591
86c544532840 add commit messaged and gravatar to split compare view
Marcin Kuzminski <marcin@python-works.com>
parents: 2492
diff changeset
82 <a class="tooltip" title="${h.tooltip(cs.message)}" href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id)}">${'r%s:%s' % (cs.revision,h.short_id(cs.raw_id))}</a>
2926
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
83 <div class="gravatar">
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
84 <img alt="gravatar" src="${h.gravatar_url(h.email_or_none(cs.author),20)}"/>
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
85 </div>
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
86 <div class="right">
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
87 <span class="logtags">
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
88 %if len(cs.parents)>1:
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
89 <span class="merge">${_('merge')}</span>
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
90 %endif
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
91 %if h.is_hg(c.rhodecode_repo):
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
92 %for book in cs.bookmarks:
3707
93de03499097 shortlog: show all refs (bookmarks,tags,branches) in one dedicated column
Marcin Kuzminski <marcin@python-works.com>
parents: 3654
diff changeset
93 <span class="booktag" title="${_('Bookmark %s') % book}">
2926
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
94 ${h.link_to(h.shorter(book),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
95 </span>
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
96 %endfor
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
97 %endif
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
98 %for tag in cs.tags:
3654
ec6354949623 Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents: 3603
diff changeset
99 <span class="tagtag" title="${_('Tag %s') % tag}">
2926
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
100 ${h.link_to(h.shorter(tag),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}</span>
3555c56694b5 Changeset range shows branch/tags/bookmarks
Marcin Kuzminski <marcin@python-works.com>
parents: 2732
diff changeset
101 %endfor
3727
0cecc22285ef #818: Bookmarks Do Not Display on Changeset View
Marcin Kuzminski <marcin@python-works.com>
parents: 3707
diff changeset
102 %if cs.branch:
0cecc22285ef #818: Bookmarks Do Not Display on Changeset View
Marcin Kuzminski <marcin@python-works.com>
parents: 3707
diff changeset
103 <span class="branchtag" title="${_('Branch %s') % cs.branch}">
0cecc22285ef #818: Bookmarks Do Not Display on Changeset View
Marcin Kuzminski <marcin@python-works.com>
parents: 3707
diff changeset
104 ${h.link_to(h.shorter(cs.branch),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))}
0cecc22285ef #818: Bookmarks Do Not Display on Changeset View
Marcin Kuzminski <marcin@python-works.com>
parents: 3707
diff changeset
105 </span>
0cecc22285ef #818: Bookmarks Do Not Display on Changeset View
Marcin Kuzminski <marcin@python-works.com>
parents: 3707
diff changeset
106 %endif
2973
9937afa7f093 whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2926
diff changeset
107 </span>
9937afa7f093 whitespace cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2926
diff changeset
108 </div>
2673
d5e42c00f3c1 white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2591
diff changeset
109 </div>
1787
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
110 ${diff_block.diff_block(c.changes[cs.raw_id])}
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
111
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1868
diff changeset
112 %endfor
1787
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
113 <script type="text/javascript">
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
114
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
115 YUE.onDOMReady(function(){
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1868
diff changeset
116
1787
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
117 YUE.on(YUQ('.diff-menu-activate'),'click',function(e){
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
118 var act = e.currentTarget.nextElementSibling;
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1868
diff changeset
119
1787
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
120 if(YUD.hasClass(act,'active')){
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
121 YUD.removeClass(act,'active');
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
122 YUD.setStyle(act,'display','none');
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
123 }else{
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
124 YUD.addClass(act,'active');
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
125 YUD.setStyle(act,'display','');
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
126 }
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
127 });
d4a7b6c82efe code garden for changeset ranges and comments
Marcin Kuzminski <marcin@python-works.com>
parents: 1777
diff changeset
128 })
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1868
diff changeset
129 </script>
977
28524453bb76 started work on #93 added rev ranges view, checkboxes in changelog to view ranges of changes
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
130 </div>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1868
diff changeset
131 </%def>