## -*- coding: utf-8 -*- <%inherit file="/base/base.mako"/> <%namespace name="cbdiffs" file="/codeblocks/diffs.mako"/> <%def name="title()"> %if c.compare_home: ${_('%s Compare') % c.repo_name} %else: ${_('%s Compare') % c.repo_name} - ${'%s@%s' % (c.source_repo.repo_name, c.source_ref)} > ${'%s@%s' % (c.target_repo.repo_name, c.target_ref)} %endif %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif %def> <%def name="breadcrumbs_links()"> ${_ungettext('%s commit','%s commits', len(c.commit_ranges)) % len(c.commit_ranges)} %def> <%def name="menu_bar_nav()"> ${self.menu_items(active='repositories')} %def> <%def name="menu_bar_subnav()"> ${self.repo_menu(active='compare')} %def> <%def name="main()">