diff --git a/rhodecode/templates/compare/compare_diff.html b/rhodecode/templates/compare/compare_diff.html new file mode 100644 --- /dev/null +++ b/rhodecode/templates/compare/compare_diff.html @@ -0,0 +1,82 @@ +## -*- coding: utf-8 -*- +<%inherit file="/base/base.html"/> + +<%def name="title()"> + TODO FIll this in + + +<%def name="breadcrumbs_links()"> + ${h.link_to(u'Home',h.url('/'))} + » + ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} + » + TODO! + + +<%def name="page_nav()"> + ${self.menu('changelog')} + + +<%def name="main()"> +
+ +
+ ${self.breadcrumbs()} +
+
+
+
+

${_('Compare View')}

+
+ ${'%s@%s' % (c.org_repo.repo_name, c.org_ref)} -> ${'%s@%s' % (c.other_repo.repo_name, c.other_ref)} +
+
+
+
+
+ + %for cnt,cs in enumerate(c.cs_ranges): + + + + + + + + + %endfor +
gravatar
${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
${h.person(cs.author)}
${cs.date} + %if hasattr(c,'statuses') and c.statuses: +
+ %endif +
${h.urlify_commit(h.wrap_paragraphs(cs.message),c.repo_name)}
+
+
${_('Files affected')}
+
+ %for change,filenode,diff,cs1,cs2,st in c.changes[cs.raw_id]: +
${h.link_to(h.safe_unicode(filenode.path),h.url.current(anchor=h.FID(cs.raw_id,filenode.path)))}
+ %endfor +
+
+ +
+ + +
+