##// END OF EJS Templates
svn: extend detection of SVN to PROPFIND/PROPATCH methods....
svn: extend detection of SVN to PROPFIND/PROPATCH methods. - in some cases like usage of tortoisesvn non of the available SVN protocol detection methods are available - with extended method we're able to catch directory delete/create

File last commit:

r2105:4ad1a937 default
r2262:80234d04 stable
Show More
defaults_repositories.mako
81 lines | 3.3 KiB | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / defaults / defaults_repositories.mako
templating: use .mako as extensions for template files.
r1282 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Default Settings For New Repositories')}</h3>
</div>
<div class="panel-body">
forms: unified usage of h.secure_form. Make sure we ALWAYS pass in...
r2105 ${h.secure_form(h.route_path('admin_defaults_repositories_update'), request=request)}
templating: use .mako as extensions for template files.
r1282 <div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="default_repo_type">${_('Type')}:</label>
</div>
<div class="select">
${h.select('default_repo_type','hg',c.backends,class_="medium")}
</div>
</div>
<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 a statistics window on the repository 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 the download option on the repository 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 automatic repository locking. Pulling from a repository will lock it, and it is unlocked by pushing back by the same user.')}</span>
</div>
</div>
<div class="buttons">
${h.submit('save',_('Save'),class_="btn")}
</div>
</div>
</div>
${h.end_form()}
</div>
</div>
<script>
$(document).ready(function(){
$("#default_repo_type").select2({
containerCssClass: 'drop-menu',
dropdownCssClass: 'drop-menu-dropdown',
dropdownAutoWidth: true,
minimumResultsForSearch: -1
});
})
</script>