## -*- coding: utf-8 -*- <%inherit file="/base/base.mako"/> <%def name="title()"> %if c.repo_name: ${_('Search inside repository %(repo_name)s') % {'repo_name': c.repo_name}} %else: ${_('Search inside all accessible repositories')} %endif %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif %def> <%def name="breadcrumbs_links()"> %if c.repo_name: ${_('Search inside repository %(repo_name)s') % {'repo_name': c.repo_name}} %else: ${_('Search inside all accessible repositories')} %endif %if c.cur_query: » ${c.cur_query} %endif %def> <%def name="menu_bar_nav()"> %if c.repo_name: ${self.menu_items(active='repositories')} %else: ${self.menu_items(active='search')} %endif %def> <%def name="menu_bar_subnav()"> %if c.repo_name: ${self.repo_menu(active='options')} %endif %def> <%def name="main()">