## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> %if c.repo_name: ${_('Search repository')} ${c.repo_name} - ${c.rhodecode_name} %else: ${_('Search in all repositories')} %endif %def> <%def name="breadcrumbs_links()"> %if c.repo_name: ${h.link_to(_(u'Home'),h.url('/'))} » ${h.repo_link(c.rhodecode_db_repo.groups_and_repo)} » ${_('search')} %else: ${_('search in all repositories')} %endif %if c.cur_query: » ${c.cur_query} %endif %def> <%def name="page_nav()"> %if c.repo_name: ${self.menu('options')} %else: ${self.menu('search')} %endif %def> <%def name="main()"> ${self.context_bar('options')}