##// END OF EJS Templates
diffs: fixed outdated files in pull-requests re-using the filediff raw_id for anchor generation....
diffs: fixed outdated files in pull-requests re-using the filediff raw_id for anchor generation. In some cases when there are no longer any files this caused error since filediff wasn't present. In addition this generated wrong ids since it used a last-defined attribute on a for loop. Fixes #5567

File last commit:

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