##// END OF EJS Templates
template: use block block for page title in root.html
template: use block block for page title in root.html

File last commit:

r4811:37354e1a default
r4811:37354e1a default
Show More
repo_add.html
37 lines | 764 B | text/html | HtmlLexer
Bradley M. Kuhn
Second step in two-part process to rename directories....
r4187 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
Mads Kiilerich
template: use block block for page title in root.html
r4811 <%block name="title">
Na'Tosha Bard
Correct capitalization and improved English text in the UI
r4527 ${_('Add Repository')}
Bradley M. Kuhn
Rename rhodecode_name to site_name - it is the configurable name of the site/instance
r4198 %if c.site_name:
&middot; ${c.site_name}
Bradley M. Kuhn
Second step in two-part process to rename directories....
r4187 %endif
Mads Kiilerich
template: use block block for page title in root.html
r4811 </%block>
Bradley M. Kuhn
Second step in two-part process to rename directories....
r4187
<%def name="breadcrumbs_links()">
Bradley M. Kuhn
Rename rhodecode_user to authuser - it is an AuthUser instance
r4197 %if c.authuser.is_admin:
Bradley M. Kuhn
Second step in two-part process to rename directories....
r4187 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Repositories'),h.url('repos'))}
%else:
${_('Admin')}
&raquo;
${_('Repositories')}
%endif
&raquo;
${_('Add Repository')}
</%def>
Mads Kiilerich
template: move header to root.html, use mako block for header menu
r4809 <%block name="header_menu">
Bradley M. Kuhn
Second step in two-part process to rename directories....
r4187 ${self.menu('admin')}
Mads Kiilerich
template: move header to root.html, use mako block for header menu
r4809 </%block>
Bradley M. Kuhn
Second step in two-part process to rename directories....
r4187
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<%include file="repo_add_base.html"/>
</div>
</%def>