##// END OF EJS Templates
invalidation: don't create CacheInvalidation records on startup...
invalidation: don't create CacheInvalidation records on startup Creating the records early gave an advantage before lightweight was introduced. With lightweight it is no longer necessary. The records will be created on demand anyway and there is no reason to create and maintain them before they are used.

File last commit:

r3654:ec635494 beta
r3774:60335b70 beta
Show More
defaults.html
93 lines | 3.0 KiB | text/html | HtmlLexer
Implemented #379 defaults settings page for creation of repositories...
r3056 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
improved title consistency...
r3582 ${_('Repositories defaults')} &middot; ${c.rhodecode_name}
Implemented #379 defaults settings page for creation of repositories...
r3056 </%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
Mads Kiilerich
Fix a lot of casings - use standard casing in most places
r3654 ${_('Defaults')}
Implemented #379 defaults settings page for creation of repositories...
r3056 </%def>
<%def name="page_nav()">
Mads Kiilerich
html: don't use tabs
r3197 ${self.menu('admin')}
Implemented #379 defaults settings page for creation of repositories...
r3056 </%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
whitespace and formatting
r3057
Implemented #379 defaults settings page for creation of repositories...
r3056 <h3>${_('Repositories defaults')}</h3>
${h.form(url('default', id='defaults'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
whitespace and formatting
r3057
Implemented #379 defaults settings page for creation of repositories...
r3056 <div class="field">
<div class="label">
<label for="default_repo_type">${_('Type')}:</label>
</div>
<div class="input">
${h.select('default_repo_type','hg',c.backends,class_="medium")}
</div>
whitespace and formatting
r3057 </div>
Implemented #379 defaults settings page for creation of repositories...
r3056
<div class="field">
<div class="label label-checkbox">
<label for="default_repo_private">${_('Private repository')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('default_repo_private',value="True")}
<span class="help-block">${_('Private repositories are only visible to people explicitly added as collaborators.')}</span>
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label for="default_repo_enable_statistics">${_('Enable statistics')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('default_repo_enable_statistics',value="True")}
<span class="help-block">${_('Enable statistics window on summary page.')}</span>
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label for="default_repo_enable_downloads">${_('Enable downloads')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('default_repo_enable_downloads',value="True")}
<span class="help-block">${_('Enable download menu on summary page.')}</span>
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label for="default_repo_enable_locking">${_('Enable locking')}:</label>
</div>
<div class="checkboxes">
${h.checkbox('default_repo_enable_locking',value="True")}
<span class="help-block">${_('Enable lock-by-pulling on repository.')}</span>
</div>
</div>
<div class="buttons">
${h.submit('save',_('Save'),class_="ui-btn large")}
</div>
</div>
</div>
${h.end_form()}
whitespace and formatting
r3057
Implemented #379 defaults settings page for creation of repositories...
r3056 ##<h3>${_('Groups defaults')}</h3>
whitespace and formatting
r3057
Implemented #379 defaults settings page for creation of repositories...
r3056 </div>
</%def>