Mercurial > public > src > rhodecode
diff 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 |
line wrap: on
line diff
--- a/pylons_app/templates/changeset/changeset.html Wed May 26 00:05:30 2010 +0200 +++ b/pylons_app/templates/changeset/changeset.html Wed May 26 00:20:03 2010 +0200 @@ -54,7 +54,7 @@ </div> </div> - <div style="clear: both"></div> + <div style="clear:both;height:10px"></div> <div class="cs_files"> %for change,filenode,diff in c.changes: <div class="cs_${change}">${h.link_to(filenode.path,h.url.current(anchor='CHANGE-%s'%filenode.path))}</div> @@ -67,21 +67,25 @@ <div id="body" class="diffblock"> <div id="${'CHANGE-%s'%filenode.path}" class="code-header"> <div> - <span> - ${h.link_to_if(change!='removed',filenode.path,h.url('files_home',repo_name=c.repo_name, - revision=filenode.changeset.raw_id,f_path=filenode.path))} - </span> - - ##» <span style="font-size:77%">${h.link_to(_('diff'), - ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='diff'))}</span> - ##» <span style="font-size:77%">${h.link_to(_('raw diff'), - ##h.url.current(diff2=c.diff2,diff1=c.diff1.split(':')[-1],diff='raw'))}</span> - ##» <span style="font-size:77%">${h.link_to(_('download diff'), - ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='download'))}</span> + <span> + ${h.link_to_if(change!='removed',filenode.path,h.url('files_home',repo_name=c.repo_name, + revision=filenode.changeset.raw_id,f_path=filenode.path))} + </span> + + ##» <span style="font-size:77%">${h.link_to(_('diff'), + ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='diff'))}</span> + ##» <span style="font-size:77%">${h.link_to(_('raw diff'), + ##h.url.current(diff2=c.diff2,diff1=c.diff1.split(':')[-1],diff='raw'))}</span> + ##» <span style="font-size:77%">${h.link_to(_('download diff'), + ##h.url.current(diff2=c.diff2,diff1=c.diff1,diff='download'))}</span> </div> </div> <div class="code-body"> - ${diff|n} + %if diff: + ${diff|n} + %else: + ${_('No changes in this file')} + %endif </div> </div> %endif