repo_add.html
37 lines
| 764 B
| text/html
|
HtmlLexer
Bradley M. Kuhn
|
r4187 | ## -*- coding: utf-8 -*- | ||
<%inherit file="/base/base.html"/> | ||||
Mads Kiilerich
|
r4811 | <%block name="title"> | ||
Na'Tosha Bard
|
r4527 | ${_('Add Repository')} | ||
Bradley M. Kuhn
|
r4198 | %if c.site_name: | ||
· ${c.site_name} | ||||
Bradley M. Kuhn
|
r4187 | %endif | ||
Mads Kiilerich
|
r4811 | </%block> | ||
Bradley M. Kuhn
|
r4187 | |||
<%def name="breadcrumbs_links()"> | ||||
Bradley M. Kuhn
|
r4197 | %if c.authuser.is_admin: | ||
Bradley M. Kuhn
|
r4187 | ${h.link_to(_('Admin'),h.url('admin_home'))} | ||
» | ||||
${h.link_to(_('Repositories'),h.url('repos'))} | ||||
%else: | ||||
${_('Admin')} | ||||
» | ||||
${_('Repositories')} | ||||
%endif | ||||
» | ||||
${_('Add Repository')} | ||||
</%def> | ||||
Mads Kiilerich
|
r4809 | <%block name="header_menu"> | ||
Bradley M. Kuhn
|
r4187 | ${self.menu('admin')} | ||
Mads Kiilerich
|
r4809 | </%block> | ||
Bradley M. Kuhn
|
r4187 | |||
<%def name="main()"> | ||||
<div class="box"> | ||||
<!-- box / title --> | ||||
<div class="title"> | ||||
${self.breadcrumbs()} | ||||
</div> | ||||
<%include file="repo_add_base.html"/> | ||||
</div> | ||||
</%def> | ||||