view rhodecode/templates/admin/repos/repo_add.html @ 3527:87c97fcea029 beta

Adding the context bar too all pages related to a Repository. Deleted top menu items that are on the context bar already.
author Leonardo <leo@unity3d.com>
date Mon, 04 Mar 2013 12:15:34 +0100
parents cfc0fef66ddd
children 1f334a68d057
line wrap: on
line source

## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>

<%def name="title()">
    ${_('Add repository')} - ${c.rhodecode_name}
</%def>

<%def name="breadcrumbs_links()">
    %if c.rhodecode_user.is_admin:
    ${h.link_to(_('Admin'),h.url('admin_home'))}
    &raquo;
    ${h.link_to(_('Repositories'),h.url('repos'))}
    %else:
    ${_('Admin')}
    &raquo;
    ${_('Repositories')}
    %endif
    &raquo;
    ${_('add new')}
</%def>

<%def name="page_nav()">
    ${self.menu('admin')}
</%def>

<%def name="main()">
    <div class="box">
        <!-- box / title -->
        <div class="title">
            ${self.breadcrumbs()}
        </div>
        <%include file="repo_add_base.html"/>
    </div>
</%def>