repo_add.mako
37 lines
| 799 B
| application/x-mako
|
MakoHtmlLexer
r1282 | ## -*- coding: utf-8 -*- | |||
<%inherit file="/base/base.mako"/> | ||||
<%def name="title()"> | ||||
${_('Add repository')} | ||||
%if c.rhodecode_name: | ||||
· ${h.branding(c.rhodecode_name)} | ||||
%endif | ||||
</%def> | ||||
<%def name="breadcrumbs_links()"> | ||||
%if c.rhodecode_user.is_admin: | ||||
r2014 | ${h.link_to(_('Admin'), h.route_path('admin_home'))} | |||
r1282 | » | |||
r2014 | ${h.link_to(_('Repositories'), h.route_path('repos'))} | |||
r1282 | %else: | |||
${_('Admin')} | ||||
» | ||||
${_('Repositories')} | ||||
%endif | ||||
» | ||||
${_('Add Repository')} | ||||
</%def> | ||||
<%def name="menu_bar_nav()"> | ||||
${self.menu_items(active='admin')} | ||||
</%def> | ||||
r3585 | <%def name="menu_bar_subnav()"> | |||
${self.admin_menu(active='repositories')} | ||||
</%def> | ||||
r1282 | <%def name="main()"> | |||
<div class="box"> | ||||
<%include file="repo_add_base.mako"/> | ||||
</div> | ||||
</%def> | ||||