Show More
@@ -56,12 +56,12 b' from pylons_app.lib import filters' | |||
|
56 | 56 | |
|
57 | 57 | <div style="clear:both;height:10px"></div> |
|
58 | 58 | <div class="cs_files"> |
|
59 | %for change,filenode,diff in c.changes: | |
|
59 | %for change,filenode,diff,cs1,cs2 in c.changes: | |
|
60 | 60 | <div class="cs_${change}">${h.link_to(filenode.path,h.url.current(anchor='CHANGE-%s'%filenode.path))}</div> |
|
61 | 61 | %endfor |
|
62 | 62 | </div> |
|
63 | 63 | |
|
64 | %for change,filenode,diff in c.changes: | |
|
64 | %for change,filenode,diff,cs1,cs2 in c.changes: | |
|
65 | 65 | %if change !='removed': |
|
66 | 66 | <div style="clear:both;height:10px"></div> |
|
67 | 67 | <div id="body" class="diffblock"> |
@@ -71,13 +71,14 b' from pylons_app.lib import filters' | |||
|
71 | 71 | ${h.link_to_if(change!='removed',filenode.path,h.url('files_home',repo_name=c.repo_name, |
|
72 | 72 | revision=filenode.changeset.raw_id,f_path=filenode.path))} |
|
73 | 73 | </span> |
|
74 | ||
|
75 |
|
|
|
76 | ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='diff'))}</span> | |
|
77 |
|
|
|
78 | ##h.url.current(diff2=c.diff2,diff1=c.diff1.split(':')[-1],diff='raw'))}</span> | |
|
79 |
|
|
|
80 | ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='download'))}</span> | |
|
74 | %if 1: | |
|
75 | » <span style="font-size:77%">${h.link_to(_('diff'), | |
|
76 | h.url('files_diff_home',repo_name=c.repo_name,f_path=filenode.path,diff2=cs2,diff1=cs1,diff='diff'))}</span> | |
|
77 | » <span style="font-size:77%">${h.link_to(_('raw diff'), | |
|
78 | h.url('files_diff_home',repo_name=c.repo_name,f_path=filenode.path,diff2=cs2,diff1=cs1,diff='raw'))}</span> | |
|
79 | » <span style="font-size:77%">${h.link_to(_('download diff'), | |
|
80 | h.url('files_diff_home',repo_name=c.repo_name,f_path=filenode.path,diff2=cs2,diff1=cs1,diff='download'))}</span> | |
|
81 | %endif | |
|
81 | 82 | </div> |
|
82 | 83 | </div> |
|
83 | 84 | <div class="code-body"> |
General Comments 0
You need to be logged in to leave comments.
Login now