Mercurial > public > src > rhodecode
comparison pylons_app/templates/changeset/changeset.html @ 225:710e7a75bb6b v0.7.5
templating update, improved look & feel, version bump
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 26 May 2010 00:20:03 +0200 |
parents | 58b46f9194c3 |
children | 0d809e72b357 |
comparison
equal
deleted
inserted
replaced
224:fdcef6ea3b55 | 225:710e7a75bb6b |
---|---|
52 %endfor | 52 %endfor |
53 </div> | 53 </div> |
54 </div> | 54 </div> |
55 </div> | 55 </div> |
56 | 56 |
57 <div style="clear: both"></div> | 57 <div style="clear:both;height:10px"></div> |
58 <div class="cs_files"> | 58 <div class="cs_files"> |
59 %for change,filenode,diff in c.changes: | 59 %for change,filenode,diff in c.changes: |
60 <div class="cs_${change}">${h.link_to(filenode.path,h.url.current(anchor='CHANGE-%s'%filenode.path))}</div> | 60 <div class="cs_${change}">${h.link_to(filenode.path,h.url.current(anchor='CHANGE-%s'%filenode.path))}</div> |
61 %endfor | 61 %endfor |
62 </div> | 62 </div> |
65 %if change !='removed': | 65 %if change !='removed': |
66 <div style="clear:both;height:10px"></div> | 66 <div style="clear:both;height:10px"></div> |
67 <div id="body" class="diffblock"> | 67 <div id="body" class="diffblock"> |
68 <div id="${'CHANGE-%s'%filenode.path}" class="code-header"> | 68 <div id="${'CHANGE-%s'%filenode.path}" class="code-header"> |
69 <div> | 69 <div> |
70 <span> | 70 <span> |
71 ${h.link_to_if(change!='removed',filenode.path,h.url('files_home',repo_name=c.repo_name, | 71 ${h.link_to_if(change!='removed',filenode.path,h.url('files_home',repo_name=c.repo_name, |
72 revision=filenode.changeset.raw_id,f_path=filenode.path))} | 72 revision=filenode.changeset.raw_id,f_path=filenode.path))} |
73 </span> | 73 </span> |
74 | 74 |
75 ##» <span style="font-size:77%">${h.link_to(_('diff'), | 75 ##» <span style="font-size:77%">${h.link_to(_('diff'), |
76 ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='diff'))}</span> | 76 ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='diff'))}</span> |
77 ##» <span style="font-size:77%">${h.link_to(_('raw diff'), | 77 ##» <span style="font-size:77%">${h.link_to(_('raw diff'), |
78 ##h.url.current(diff2=c.diff2,diff1=c.diff1.split(':')[-1],diff='raw'))}</span> | 78 ##h.url.current(diff2=c.diff2,diff1=c.diff1.split(':')[-1],diff='raw'))}</span> |
79 ##» <span style="font-size:77%">${h.link_to(_('download diff'), | 79 ##» <span style="font-size:77%">${h.link_to(_('download diff'), |
80 ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='download'))}</span> | 80 ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='download'))}</span> |
81 </div> | 81 </div> |
82 </div> | 82 </div> |
83 <div class="code-body"> | 83 <div class="code-body"> |
84 ${diff|n} | 84 %if diff: |
85 ${diff|n} | |
86 %else: | |
87 ${_('No changes in this file')} | |
88 %endif | |
85 </div> | 89 </div> |
86 </div> | 90 </div> |
87 %endif | 91 %endif |
88 %endfor | 92 %endfor |
89 | 93 |