Mercurial > kallithea
comparison rhodecode/templates/changeset/diff_block.html @ 4043:a1bc4af25ec5
Implemented issue #387 side-by-side diffs view
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 26 Jun 2013 19:07:32 +0200 |
parents | ce4b7023a492 |
children | ffd45b185016 |
comparison
equal
deleted
inserted
replaced
4042:af3c746b3f1f | 4043:a1bc4af25ec5 |
---|---|
17 ${h.link_to_if(change!='D',h.safe_unicode(path),h.url('files_home',repo_name=c.repo_name, | 17 ${h.link_to_if(change!='D',h.safe_unicode(path),h.url('files_home',repo_name=c.repo_name, |
18 revision=cs2,f_path=h.safe_unicode(path)))} | 18 revision=cs2,f_path=h.safe_unicode(path)))} |
19 </div> | 19 </div> |
20 <div class="diff-actions"> | 20 <div class="diff-actions"> |
21 <a href="${h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(path),diff2=cs2,diff1=cs1,diff='diff',fulldiff=1)}" class="tooltip" title="${h.tooltip(_('Show full diff for this file'))}"><img class="icon" src="${h.url('/images/icons/page_white_go.png')}"/></a> | 21 <a href="${h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(path),diff2=cs2,diff1=cs1,diff='diff',fulldiff=1)}" class="tooltip" title="${h.tooltip(_('Show full diff for this file'))}"><img class="icon" src="${h.url('/images/icons/page_white_go.png')}"/></a> |
22 <a href="${h.url('files_diff_2way_home',repo_name=c.repo_name,f_path=h.safe_unicode(path),diff2=cs2,diff1=cs1,diff='diff',fulldiff=1)}" class="tooltip" title="${h.tooltip(_('Show full side-by-side diff for this file'))}"><img class="icon" src="${h.url('/images/icons/application_double.png')}"/></a> | |
22 <a href="${h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(path),diff2=cs2,diff1=cs1,diff='raw')}" class="tooltip" title="${h.tooltip(_('Raw diff'))}"><img class="icon" src="${h.url('/images/icons/page_white.png')}"/></a> | 23 <a href="${h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(path),diff2=cs2,diff1=cs1,diff='raw')}" class="tooltip" title="${h.tooltip(_('Raw diff'))}"><img class="icon" src="${h.url('/images/icons/page_white.png')}"/></a> |
23 <a href="${h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(path),diff2=cs2,diff1=cs1,diff='download')}" class="tooltip" title="${h.tooltip(_('Download diff'))}"><img class="icon" src="${h.url('/images/icons/page_save.png')}"/></a> | 24 <a href="${h.url('files_diff_home',repo_name=c.repo_name,f_path=h.safe_unicode(path),diff2=cs2,diff1=cs1,diff='download')}" class="tooltip" title="${h.tooltip(_('Download diff'))}"><img class="icon" src="${h.url('/images/icons/page_save.png')}"/></a> |
24 ${c.ignorews_url(request.GET, h.FID(cs2,path))} | 25 ${c.ignorews_url(request.GET, h.FID(cs2,path))} |
25 ${c.context_url(request.GET, h.FID(cs2,path))} | 26 ${c.context_url(request.GET, h.FID(cs2,path))} |
26 </div> | 27 </div> |