##// END OF EJS Templates
switch to branch: handle slashes in branch names...
switch to branch: handle slashes in branch names In git, having slashes in branch names are not uncommon. We cannot use a branch name with slashes in the url, so in that case, we use the changeset id instead like we already do for tags and bookmarks. Fixes #654

File last commit:

r3338:cfc0fef6 beta
r3424:440fab75 beta
Show More
repo_add.html
34 lines | 714 B | text/html | HtmlLexer
## -*- 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>