##// END OF EJS Templates
follow Python conventions for boolean values...
follow Python conventions for boolean values True and False might be singletons and the "default" values for "boolean" expressions, but "all" values in Python has a boolean value and should be evaluated as such. Checking with 'is True' and 'is False' is thus confusing, error prone and unnessarily complex. If we anywhere rely and nullable boolean fields from the database layer and don't want the null value to be treated as False then we should check explicitly for null with 'is None'.

File last commit:

r3582:1f334a68 beta
r3625:260a7a01 beta
Show More
repo_add.html
34 lines | 721 B | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
improved title consistency...
r3582 ${_('Add repository')} &middot; ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
Implemented #738 Giving a user WRITE+ permissions on folder should not allow repo creation in root folder....
r3333 %if c.rhodecode_user.is_admin:
White-space cleanup
r1888 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Repositories'),h.url('repos'))}
Implemented #738 Giving a user WRITE+ permissions on folder should not allow repo creation in root folder....
r3333 %else:
${_('Admin')}
&raquo;
whitespace cleanup
r3338 ${_('Repositories')}
Implemented #738 Giving a user WRITE+ permissions on folder should not allow repo creation in root folder....
r3333 %endif
renamed project to rhodecode
r547 &raquo;
${_('add new')}
</%def>
<%def name="page_nav()">
Mads Kiilerich
html: don't use tabs
r3197 ${self.menu('admin')}
renamed project to rhodecode
r547 </%def>
added base for repo creation forms, both templates will share the same form.
r1111
renamed project to rhodecode
r547 <%def name="main()">
Mads Kiilerich
html: don't use tabs
r3197 <div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
added base for repo creation forms, both templates will share the same form.
r1111 <%include file="repo_add_base.html"/>
White-space cleanup
r1888 </div>
</%def>