Mercurial > kallithea
comparison rhodecode/templates/compare/compare_diff.html @ 3011:25d77aef2729 beta
Optimized look of compare view of changesets.
Added cut off limit for compare view
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 17 Nov 2012 17:14:02 +0100 |
parents | 79818f546538 |
children | 16af24982e30 |
comparison
equal
deleted
inserted
replaced
3010:bf96fd1920c1 | 3011:25d77aef2729 |
---|---|
45 <div class="node">${h.link_to(h.safe_unicode(f),h.url.current(anchor=fid))}</div> | 45 <div class="node">${h.link_to(h.safe_unicode(f),h.url.current(anchor=fid))}</div> |
46 <div class="changes">${h.fancy_file_stats(stat)}</div> | 46 <div class="changes">${h.fancy_file_stats(stat)}</div> |
47 </div> | 47 </div> |
48 %endfor | 48 %endfor |
49 </div> | 49 </div> |
50 % if c.limited_diff: | |
51 <h5>${_('Changeset was too big and was cut off...')}</h5> | |
52 % endif | |
50 </div> | 53 </div> |
51 </div> | 54 </div> |
52 | 55 |
53 ## diff block | 56 ## diff block |
54 <%namespace name="diff_block" file="/changeset/diff_block.html"/> | 57 <%namespace name="diff_block" file="/changeset/diff_block.html"/> |
55 %for fid, change, f, stat in c.files: | 58 %for fid, change, f, stat in c.files: |
56 ${diff_block.diff_block_simple([c.changes[fid]])} | 59 ${diff_block.diff_block_simple([c.changes[fid]])} |
57 %endfor | 60 %endfor |
58 | 61 % if c.limited_diff: |
62 <h4>${_('Changeset was too big and was cut off...')}</h4> | |
63 % endif | |
59 <script type="text/javascript"> | 64 <script type="text/javascript"> |
60 | 65 |
61 YUE.onDOMReady(function(){ | 66 YUE.onDOMReady(function(){ |
62 | 67 |
63 YUE.on(YUQ('.diff-menu-activate'),'click',function(e){ | 68 YUE.on(YUQ('.diff-menu-activate'),'click',function(e){ |