Mercurial > kallithea
diff rhodecode/templates/changeset/changeset_range.html @ 1888:f91d3f9b7230 beta
White-space cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 12 Jan 2012 06:32:40 +0200 |
parents | f26acc1b27e2 |
children | 87664e60bbc0 44f328d6f209 |
line wrap: on
line diff
--- a/rhodecode/templates/changeset/changeset_range.html Thu Jan 12 05:51:13 2012 +0200 +++ b/rhodecode/templates/changeset/changeset_range.html Thu Jan 12 06:32:40 2012 +0200 @@ -14,7 +14,7 @@ </%def> <%def name="page_nav()"> - ${self.menu('changelog')} + ${self.menu('changelog')} </%def> <%def name="main()"> @@ -26,7 +26,7 @@ <div class="table"> <div id="body" class="diffblock"> <div class="code-header cv"> - <h3 class="code-header-title">${_('Compare View')}</h3> + <h3 class="code-header-title">${_('Compare View')}</h3> <div> ${_('Changesets')} - r${c.cs_ranges[0].revision}:${h.short_id(c.cs_ranges[0].raw_id)} -> r${c.cs_ranges[-1].revision}:${h.short_id(c.cs_ranges[-1].raw_id)} </div> @@ -53,28 +53,28 @@ %for change,filenode,diff,cs1,cs2,st in c.changes[cs.raw_id]: <div class="cs_${change}">${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=h.FID(cs.raw_id,filenode.path)))}</div> %endfor - %endfor - </div> + %endfor + </div> </div> - + </div> <%namespace name="comment" file="/changeset/changeset_file_comment.html"/> <%namespace name="diff_block" file="/changeset/diff_block.html"/> %for cs in c.cs_ranges: - ##${comment.comment_inline_form(cs)} + ##${comment.comment_inline_form(cs)} ## diff block <h3 style="border:none;padding-top:8px;">${'r%s:%s' % (cs.revision,h.short_id(cs.raw_id))}</h3> ${diff_block.diff_block(c.changes[cs.raw_id])} ##${comment.comments(cs)} - %endfor + %endfor <script type="text/javascript"> YUE.onDOMReady(function(){ - + YUE.on(YUQ('.diff-menu-activate'),'click',function(e){ var act = e.currentTarget.nextElementSibling; - + if(YUD.hasClass(act,'active')){ YUD.removeClass(act,'active'); YUD.setStyle(act,'display','none'); @@ -84,6 +84,6 @@ } }); }) - </script> + </script> </div> -</%def> \ No newline at end of file +</%def>